Skip to content

Commit

Permalink
race=transport to race=ship
Browse files Browse the repository at this point in the history
  • Loading branch information
doofus-01 committed Dec 24, 2024
1 parent 7bad0aa commit 2a57b19
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 5 deletions.
2 changes: 1 addition & 1 deletion data/core/units.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ Saurians live spectacularly short lives by comparison to most of the other races
[/race]

[race]
id=transport
id=ship
help_taxonomy=mechanical
name= _ "race^Ship"
plural_name= _ "race+plural^Ships"
Expand Down
2 changes: 1 addition & 1 deletion data/core/units/boats/Derelict_Galleon.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[unit_type]
id=Derelict Hulk
name= _ "Derelict Hulk"
race=transport
race=ship
profile="portraits/transport/derelict-hulk.webp"
image="units/transport/derelict-galleon.png"
hitpoints=24
Expand Down
32 changes: 31 additions & 1 deletion data/core/units/boats/Fireship.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[unit_type]
id=Fireship
name= _ "Fireship"
race=transport
race=ship
image="halo/transport/fireship-back-glow.png~BLIT(units/transport/fireship.png)~BLIT(units/transport/flames/fireship-2.png)"
profile="portraits/transport/fireship.webp"
hitpoints=12
Expand Down Expand Up @@ -48,6 +48,36 @@
layer=42
[/flames_frame]
[/standing_anim]
[standing_anim]
start_time=0
terrain_type=S*,*^V*
boat_start_time=0
boat_y=-1:250,-1~0:490,0:250,0~-1:490
flames_start_time=0
flames_y=-1:250,-1~0:490,0:250,0~-1:490
flames_directional_x=1:350,0:390,-1:350,0:390
[frame]
image="halo/transport/fireship-back-glow.png:1480"
layer=9
[/frame]
[boat_frame]
image="units/transport/fireship-[port,mid,starboard,mid].png:[350,390,350,390]"
auto_vflip=no
image_mod=~MASK(units/transport/pirate-galleon-mask.png)
primary=yes
layer=40
[/boat_frame]
[fire_frame]
image="units/transport/fireship-back-fire[1,2,1,2,1,2,1,2].png:[185*8]"
auto_vflip=no
layer=41
[/fire_frame]
[flames_frame]
image="units/transport/flames/fireship-[1~9,1~9].png:[82*10,86,82*7]"
auto_vflip=no
layer=42
[/flames_frame]
[/standing_anim]
[movement_anim]
start_time=0
boat_start_time=0
Expand Down
2 changes: 1 addition & 1 deletion data/core/units/boats/Pirate_Galleon.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[unit_type]
id=Pirate Galleon
name= _ "Pirate Galleon"
race=transport
race=ship
image="units/transport/pirate-galleon.png"
# ideally, we have "crew" that make sense for dialogs, and "mechanical" that depicts the transport
# but for now, we just have "crew"
Expand Down
2 changes: 1 addition & 1 deletion data/core/units/boats/Transport_Galleon.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[unit_type]
id=Transport Galleon
name= _ "Transport Galleon"
race=transport
race=ship
image="units/transport/transport-galleon.png"
# ideally, we have "crew" that make sense for dialogs, and "mechanical" that depicts the transport
# but for now, we just have "crew"
Expand Down

0 comments on commit 2a57b19

Please sign in to comment.