Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
190 commits
Select commit Hold shift + click to select a range
9959ed9
ci: Run daily workflows at 22:00 UTC (#785)
EttyKitty Apr 29, 2025
c9fc13a
fix: Role names displays player chosen names in creation (#780)
OH296 Apr 29, 2025
e298f6a
fix: Remaining sprite weapon issues and streamline customiser (#782)
OH296 Apr 29, 2025
aeffe79
fix: NameGenerator breakage (#783)
EttyKitty Apr 29, 2025
b6a3412
ci: Title checker allows "!" (#787)
EttyKitty Apr 29, 2025
e172b61
ci: Add the rest of conventional commits to labeler (#786)
EttyKitty Apr 29, 2025
1ce9c62
fix: Problem getting eta time for missions (#788)
OH296 Apr 30, 2025
502d263
feat: New Force Axe Sprite (#790)
OH296 Apr 30, 2025
b6ffb54
fix: Crash on mission_inquisition_tyranid_organism (#792)
VanWeapon May 1, 2025
74b79af
refactor: Inquisitor, loyalty, quest arrays with array_create() (#791)
EttyKitty May 2, 2025
6707a87
fix: NameGenerator not initialized when loading (#796)
EttyKitty May 3, 2025
32b820b
feat: Force Axe and Mace of Absolution sprite edits (#799)
EttyKitty May 4, 2025
c2fc606
fix: Grav-Cannon sprite artifact (#798)
EttyKitty May 4, 2025
9c885e1
ci: Add debugging to old release deletion (#800)
EttyKitty May 4, 2025
2ec1292
fix: Elite guard trait not working (#801)
VanWeapon May 4, 2025
df306e9
fix: Universal charisma tweak (#802)
OH296 May 4, 2025
55e1cc5
fix: Train forces missionName print error (#804)
OH296 May 5, 2025
3722257
fix: Issue in cleanup with ships becoming dissociated from fleets (#805)
OH296 May 5, 2025
3126e9d
tyranid fleet init
OH296 Jun 2, 2024
5c953d7
nid fleets added yay
OH296 Jun 2, 2024
feb462c
build basic hive fleet infrustructure
OH296 Jun 2, 2024
85172f2
more tweaks for hive fleet intergration
OH296 Jun 2, 2024
08cb4c1
merge issues
OH296 Apr 29, 2025
299036a
tyranid planet functions
OH296 Apr 30, 2025
d9b7b3f
seriouslystart to sort fleet combat the fuck out
OH296 May 1, 2025
264f40c
add some geometry to ship movement
OH296 May 3, 2025
2a77a7a
fix targeting and flanking
OH296 May 3, 2025
23229bb
ship stat assignment to stats
OH296 May 3, 2025
b078df1
finish data transfer and kill alarms
OH296 May 3, 2025
86aaa73
finish ork conversion
OH296 May 3, 2025
9f37b81
make ship weapons object orientated
OH296 May 4, 2025
629983c
final OOP bits for weapons now projectiles
OH296 May 4, 2025
152b776
it woorks it acctually god damn works
OH296 May 4, 2025
43951f2
correct weapoon images
OH296 May 4, 2025
252b406
more tweaks, makethings work
OH296 May 4, 2025
ca2020b
e51816b36 correct weapoon images
OH296 May 4, 2025
957ae8c
fix ship fleet array issues
OH296 May 4, 2025
00245c7
get ridof multiple arrays for weapon data
OH296 May 4, 2025
5dd67e4
more leegacy removal
OH296 May 5, 2025
5343cfd
few fixes and now saving
OH296 May 5, 2025
9b50aa9
tyranid bioo rescource
OH296 May 7, 2025
8aa31c4
further expand biomass concpet
OH296 May 7, 2025
02b4ef1
mass explosions in fleet combat
OH296 May 7, 2025
cb56873
correct explosion sprrites
OH296 May 7, 2025
9f3b509
simplify draw code
OH296 May 12, 2025
8f4bbe2
fix: Crash when creating fallen mission (#806)
OH296 May 7, 2025
25b3491
fix: Destroy colour_pick on area change (#807)
OH296 May 7, 2025
e8526bd
fix: Scouts starting with Black Carapace (#808)
OH296 May 7, 2025
568b7d8
fix: Pistol modifier inconsistent with description (#811)
Rathowm May 8, 2025
ce87a6d
fix: Range multiplier not applied to range attack (#810)
Rathowm May 8, 2025
285eb9b
ci: Attempt to fix commit checking and old build deletion (#816)
EttyKitty May 11, 2025
fadef5a
remove ship arrays
OH296 May 14, 2025
c2fc934
Merge remote-tracking branch 'adeptus/stable' into Tyranid_hive_fleet
OH296 May 14, 2025
034d26e
removemoreship arrays
OH296 May 14, 2025
d74a7e3
improve ship storage
OH296 May 14, 2025
cc9ca80
keep killing ship arrays
OH296 May 15, 2025
5fad549
ships are fully struct based
OH296 May 15, 2025
f62e195
issue tweaking
OH296 May 15, 2025
b336ac3
deceleration fix
OH296 May 18, 2025
e3247f0
few tweaks to running
OH296 May 18, 2025
74224fe
system spawn
OH296 May 18, 2025
e0ef670
spawn tweaks
OH296 May 19, 2025
d334834
further improvements to system spawning
OH296 May 19, 2025
b8e5612
Merge remote-tracking branch 'adeptus/main' into Tyranid_hive_fleet
OH296 May 19, 2025
61ecc19
add spawning of ShipDocks
OH296 May 19, 2025
e4c7282
flesh out shield structs
OH296 May 20, 2025
af8eb67
Merge remote-tracking branch 'adeptus/main' into Tyranid_hive_fleet
OH296 May 21, 2025
5877f5c
more legacy cleanup
OH296 May 21, 2025
8871f45
Dock Yards
OH296 May 23, 2025
432a181
shields and docks function theoretically
OH296 May 23, 2025
4be3627
few glitches
OH296 May 23, 2025
35a6771
kill old fleet screen
OH296 May 24, 2025
022cbe7
rethink weapon equip spots
OH296 May 24, 2025
7235deb
changing weapons ui
OH296 May 24, 2025
a03edb8
display ship stats
OH296 May 25, 2025
4789c4e
Merge remote-tracking branch 'adeptus/main' into Tyranid_hive_fleet
OH296 May 25, 2025
809fe12
Merge remote-tracking branch 'adeptus/main' into Tyranid_hive_fleet
OH296 May 26, 2025
83cf7d0
mostly finish ui foor ship weapons
OH296 May 26, 2025
0d7700c
unify projectile collision
OH296 May 26, 2025
0a49e5f
unify projectile step
OH296 May 26, 2025
1d17333
basic idea of ship captains
OH296 May 26, 2025
2e4a286
determining tech support and docking capabilities
OH296 May 27, 2025
70ec2ec
try fix broadside behaviuor
OH296 May 27, 2025
caac4b9
runtime upgrade
OH296 May 28, 2025
860c70d
Merge remote-tracking branch 'adeptus/main' into Tyranid_hive_fleet
OH296 May 28, 2025
b3aed7f
start adding docking and weapon re-equip code
OH296 May 29, 2025
0d2def3
first loop
OH296 May 29, 2025
9c088b7
round off a good deal of technical fullfilment code
OH296 May 29, 2025
d1a0deb
Merge remote-tracking branch 'adeptus/main' into Tyranid_hive_fleet
OH296 May 31, 2025
28f25a3
more docking and bombard crash
OH296 May 31, 2025
a5d4c4c
add hopeful saving loading solution
OH296 May 31, 2025
97ecb2d
load array issue
OH296 May 31, 2025
6cdf391
refactor enter keypress
OH296 May 31, 2025
d14c86e
continued replacement of alarms
OH296 Jun 1, 2025
5370dfc
fleet spawn bugs
OH296 Jun 2, 2025
df73378
Merge branch 'main' into Tyranid_hive_fleet
OH296 Jun 4, 2025
51ac87b
Merge remote-tracking branch 'adeptus/main' into Tyranid_hive_fleet
OH296 Jun 4, 2025
90911d2
keep adding ai behaviour
OH296 Jun 5, 2025
935f35f
keep grinding aways
OH296 Jun 6, 2025
8c8ccea
move oobj_Defeat drawing to gui layer
OH296 Jun 6, 2025
99e3d82
better variabel naming
OH296 Jun 6, 2025
17a2e59
fix acceleration and targetting
OH296 Jun 7, 2025
050d7d1
more variable naming
OH296 Jun 7, 2025
c93c87e
fix cult spawning and remove another alarm
OH296 Jun 8, 2025
acc0738
update economy
OH296 Jun 8, 2025
a7dcd2f
more economy based stuff
OH296 Jun 8, 2025
7c02d40
Merge remote-tracking branch 'adeptus/main' into Tyranid_hive_fleet
OH296 Jun 8, 2025
ac822ac
bits and bobs
OH296 Jun 8, 2025
75a1263
nuke data slate
OH296 Jun 13, 2025
7c23aeb
move data slates out of draw_planets aand into it's own script
OH296 Jun 13, 2025
15aee86
Merge branch 'refactor_data_slates' into Tyranid_hive_fleet
OH296 Jun 13, 2025
9734ced
Merge remote-tracking branch 'adeptus/main' into Tyranid_hive_fleet
OH296 Jul 1, 2025
0a5a1ee
Merge remote-tracking branch 'adeptus/main' into Tyranid_hive_fleet
OH296 Jul 9, 2025
0f418ac
Merge remote-tracking branch 'adeptus/main' into Tyranid_hive_fleet
OH296 Jul 9, 2025
972bcc3
get fleet branch to work again
OH296 Jul 10, 2025
b363a32
further code cleanup
OH296 Jul 11, 2025
44d1034
Merge remote-tracking branch 'adeptus/main' into Tyranid_hive_fleet
OH296 Jul 16, 2025
1cb07de
final bit
OH296 Jul 16, 2025
aa37505
Merge remote-tracking branch 'adeptus/main' into Tyranid_hive_fleet
OH296 Jul 19, 2025
f2d4e3e
Merge remote-tracking branch 'adeptus/main' into Tyranid_hive_fleet
OH296 Aug 2, 2025
27f5c52
crash and merge issues
OH296 Aug 2, 2025
e59e2e7
Merge remote-tracking branch 'adeptus/main' into Tyranid_hive_fleet
OH296 Aug 3, 2025
4b63bae
finissh moving end turn logic
OH296 Aug 3, 2025
40ba745
keep updating
OH296 Aug 3, 2025
816dfee
keep on chugging
OH296 Aug 3, 2025
47873f7
Merge branch 'main' into Tyranid_hive_fleet
OH296 Aug 5, 2025
5e5631e
debug
OH296 Aug 9, 2025
332a64d
more debug
OH296 Aug 11, 2025
e6aa9b4
almost fix fleet spawning
OH296 Aug 12, 2025
b006efd
combat works sorta yay
OH296 Aug 12, 2025
838a9ea
Merge branch 'main' into Tyranid_hive_fleet
OH296 Aug 16, 2025
f9d6cc7
Merge remote-tracking branch 'adeptus/main' into Tyranid_hive_fleet
OH296 Aug 18, 2025
357b6c4
fix end turn combat start
OH296 Aug 18, 2025
fb92090
behaviour edit
OH296 Aug 19, 2025
46f7b4a
Merge branch 'main' into Tyranid_hive_fleet
OH296 Aug 24, 2025
1e1eb2b
Merge branch 'main' into Tyranid_hive_fleet
OH296 Sep 4, 2025
33e0d9a
Merge remote-tracking branch 'adeptus/main' into Tyranid_hive_fleet
OH296 Sep 9, 2025
2d32480
Merge remote-tracking branch 'adeptus/main' into Tyranid_hive_fleet
OH296 Sep 21, 2025
83dc273
fix: uncommented code that previously crashed the game
felipeStouvenel Sep 24, 2025
7bf95f3
fix: __cam variable declared and initiated multiple times
felipeStouvenel Sep 24, 2025
b1d7c4b
fix: obj_creation_popup switch case, var names and var declaration
felipeStouvenel Sep 24, 2025
dca5917
fix: small refactor of scr_ui_popup, switch cases, improved logic, co…
felipeStouvenel Sep 24, 2025
fa509b6
fix: commented out some unused code in scr_zoom
felipeStouvenel Sep 24, 2025
fa7ad87
fix: deleted unused code
felipeStouvenel Sep 24, 2025
283be31
fix: for loop instead of while loop
felipeStouvenel Sep 24, 2025
3dd6c15
fix: small improvements to scr_master_log
felipeStouvenel Sep 24, 2025
f162d3a
fix: removed multiple exit statements during a switch case, remoder d…
felipeStouvenel Sep 24, 2025
2e77404
fix: switch case for scr_loyalty and removed multiple exit statements…
felipeStouvenel Sep 24, 2025
ef0d478
fix: removed unused code (exit statement) and made vars reachable
felipeStouvenel Sep 24, 2025
0aeffd2
fix: removed break after a return in scr_equipement_struct
felipeStouvenel Sep 24, 2025
7338c4e
fix: commented out code in obj_main_menu Step0 to check if they can b…
felipeStouvenel Sep 24, 2025
91612eb
fix: commented out unused code in obj_drop_select Mouse_56
felipeStouvenel Sep 24, 2025
a203126
fix: commented out unused code in obj_fleet_controller Draw_0 script
felipeStouvenel Sep 24, 2025
3d65b93
fix: commented out unused code
felipeStouvenel Sep 24, 2025
4019f75
fix: reinstated exit to ensure early exit of code
felipeStouvenel Sep 24, 2025
b1130ef
Merge branch 'main' into Tyranid_hive_fleet
OH296 Sep 24, 2025
d93d752
fix: 2 minor errors, missing a break and rename of equipment slot
felipeStouvenel Sep 24, 2025
78544ad
fix: correct comparison statements on if statements
felipeStouvenel Sep 24, 2025
7ed10ab
Merge branch 'main' into errors-fix-2
wfelipeagudelo Sep 24, 2025
c9c97d8
Merge remote-tracking branch 'wfelipeagudelo/errors-fix-2' into Tyran…
OH296 Sep 26, 2025
d77441f
Merge remote-tracking branch 'adeptus/main' into Tyranid_hive_fleet
OH296 Oct 24, 2025
c931cb7
Merge branch 'main' into Tyranid_hive_fleet
OH296 Nov 6, 2025
5a0edb8
compile errors
OH296 Nov 6, 2025
ca93684
ships kinda functioning again
OH296 Nov 6, 2025
5378843
Merge branch 'main' into Tyranid_hive_fleet
OH296 Nov 14, 2025
e49fada
mostly sort fleet sidebar
OH296 Nov 14, 2025
fd70595
remove merge error ship_locations
OH296 Nov 14, 2025
7b99fc6
remove legacy end battle popup
OH296 Nov 14, 2025
f36aa32
make more sense of end turn battle procedure
OH296 Nov 14, 2025
b4e681a
refaactor battle sort
OH296 Nov 15, 2025
5742ad0
further grinding
OH296 Nov 17, 2025
b2e2d0d
delete tunr end alrm 4
OH296 Nov 17, 2025
02a8b36
kill obj_turn_end alarm 1
OH296 Nov 17, 2025
6ea15f6
Implement new end turn battle constructor
OH296 Nov 17, 2025
db38982
finish implimentation of EndTurnBattle constructor
OH296 Nov 18, 2025
123f87a
deprecate and remove order_end_turn_battles
OH296 Nov 18, 2025
44cca9a
compile issues
OH296 Nov 18, 2025
87570f3
fucking loads of reworking the end turn combat setup stuff
OH296 Nov 19, 2025
f0fc2a8
remove repetitions and mnake variabkle naming sane
OH296 Nov 20, 2025
7e9dd9f
refactor end turn alarms
OH296 Nov 20, 2025
9771510
other than alerts pretty much all workng sort of
OH296 Nov 20, 2025
8316d2e
Merge remote-tracking branch 'adeptus/main' into Tyranid_hive_fleet
OH296 Nov 20, 2025
b7792e7
work out a few kinks
OH296 Nov 20, 2025
23e99b9
Merge remote-tracking branch 'adeptus/main' into Tyranid_hive_fleet
OH296 Dec 7, 2025
3452149
post merge updates
OH296 Dec 7, 2025
1b90799
Merge remote-tracking branch 'adeptus/main' into Tyranid_hive_fleet
OH296 Dec 11, 2025
3367524
legacy enum names
OH296 Dec 11, 2025
f215ba9
Merge remote-tracking branch 'adeptus/main' into Tyranid_hive_fleet
OH296 Dec 16, 2025
506e814
error messages
OH296 Dec 16, 2025
29c6dd0
compiling fix again
OH296 Dec 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions ChapterMaster.yyp
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@
"isEcma":false,
"LibraryEmitters":[],
"MetaData":{
"IDEVersion":"2024.1400.0.901",
"IDEVersion":"2024.1400.0.904",
},
"name":"ChapterMaster",
"resources":[
Expand Down Expand Up @@ -753,8 +753,8 @@
{"id":{"name":"scr_array_functions","path":"scripts/scr_array_functions/scr_array_functions.yy",},},
{"id":{"name":"scr_arti_descr","path":"scripts/scr_arti_descr/scr_arti_descr.yy",},},
{"id":{"name":"scr_audience","path":"scripts/scr_audience/scr_audience.yy",},},
{"id":{"name":"scr_automated_ship_combat_functions","path":"scripts/scr_automated_ship_combat_functions/scr_automated_ship_combat_functions.yy",},},
{"id":{"name":"scr_battle_allies","path":"scripts/scr_battle_allies/scr_battle_allies.yy",},},
{"id":{"name":"scr_battle_sort","path":"scripts/scr_battle_sort/scr_battle_sort.yy",},},
{"id":{"name":"scr_bionics_count","path":"scripts/scr_bionics_count/scr_bionics_count.yy",},},
{"id":{"name":"scr_boarding_actions","path":"scripts/scr_boarding_actions/scr_boarding_actions.yy",},},
{"id":{"name":"scr_bolt","path":"scripts/scr_bolt/scr_bolt.yy",},},
Expand Down Expand Up @@ -787,9 +787,9 @@
{"id":{"name":"scr_crusade","path":"scripts/scr_crusade/scr_crusade.yy",},},
{"id":{"name":"scr_culture_visuals","path":"scripts/scr_culture_visuals/scr_culture_visuals.yy",},},
{"id":{"name":"scr_DataSlate","path":"scripts/scr_DataSlate/scr_DataSlate.yy",},},
{"id":{"name":"scr_dead_marines","path":"scripts/scr_dead_marines/scr_dead_marines.yy",},},
{"id":{"name":"scr_demand","path":"scripts/scr_demand/scr_demand.yy",},},
{"id":{"name":"scr_destroy_planet","path":"scripts/scr_destroy_planet/scr_destroy_planet.yy",},},
{"id":{"name":"scr_destroy_vehicle","path":"scripts/scr_destroy_vehicle/scr_destroy_vehicle.yy",},},
{"id":{"name":"scr_dialogue","path":"scripts/scr_dialogue/scr_dialogue.yy",},},
{"id":{"name":"scr_diplomacy_helpers","path":"scripts/scr_diplomacy_helpers/scr_diplomacy_helpers.yy",},},
{"id":{"name":"scr_display_number","path":"scripts/scr_display_number/scr_display_number.yy",},},
Expand All @@ -805,11 +805,14 @@
{"id":{"name":"scr_drop_fiddle","path":"scripts/scr_drop_fiddle/scr_drop_fiddle.yy",},},
{"id":{"name":"scr_drop_select_function","path":"scripts/scr_drop_select_function/scr_drop_select_function.yy",},},
{"id":{"name":"scr_en_weapon","path":"scripts/scr_en_weapon/scr_en_weapon.yy",},},
{"id":{"name":"scr_end_turn_audiences_and_final","path":"scripts/scr_end_turn_audiences_and_final/scr_end_turn_audiences_and_final.yy",},},
{"id":{"name":"scr_end_turn_combat_helpers","path":"scripts/scr_end_turn_combat_helpers/scr_end_turn_combat_helpers.yy",},},
{"id":{"name":"scr_enemy_ai_a","path":"scripts/scr_enemy_ai_a/scr_enemy_ai_a.yy",},},
{"id":{"name":"scr_enemy_ai_b","path":"scripts/scr_enemy_ai_b/scr_enemy_ai_b.yy",},},
{"id":{"name":"scr_enemy_ai_c","path":"scripts/scr_enemy_ai_c/scr_enemy_ai_c.yy",},},
{"id":{"name":"scr_enemy_ai_d","path":"scripts/scr_enemy_ai_d/scr_enemy_ai_d.yy",},},
{"id":{"name":"scr_enemy_ai_e","path":"scripts/scr_enemy_ai_e/scr_enemy_ai_e.yy",},},
{"id":{"name":"scr_enemy_fleet_spawn_combat","path":"scripts/scr_enemy_fleet_spawn_combat/scr_enemy_fleet_spawn_combat.yy",},},
{"id":{"name":"scr_equipment_struct","path":"scripts/scr_equipment_struct/scr_equipment_struct.yy",},},
{"id":{"name":"scr_event_code","path":"scripts/scr_event_code/scr_event_code.yy",},},
{"id":{"name":"scr_event_dudes","path":"scripts/scr_event_dudes/scr_event_dudes.yy",},},
Expand Down Expand Up @@ -877,6 +880,7 @@
{"id":{"name":"scr_pen_And_paper","path":"scripts/scr_pen_And_paper/scr_pen_And_paper.yy",},},
{"id":{"name":"scr_perils_table","path":"scripts/scr_perils_table/scr_perils_table.yy",},},
{"id":{"name":"scr_planet_heresy","path":"scripts/scr_planet_heresy/scr_planet_heresy.yy",},},
{"id":{"name":"scr_planet_setup_functions","path":"scripts/scr_planet_setup_functions/scr_planet_setup_functions.yy",},},
{"id":{"name":"scr_planetary_feature","path":"scripts/scr_planetary_feature/scr_planetary_feature.yy",},},
{"id":{"name":"scr_PlanetData","path":"scripts/scr_PlanetData/scr_PlanetData.yy",},},
{"id":{"name":"scr_player_combat_weapon_stacks","path":"scripts/scr_player_combat_weapon_stacks/scr_player_combat_weapon_stacks.yy",},},
Expand Down Expand Up @@ -913,8 +917,11 @@
{"id":{"name":"scr_serialization_functions","path":"scripts/scr_serialization_functions/scr_serialization_functions.yy",},},
{"id":{"name":"scr_shader_initialize","path":"scripts/scr_shader_initialize/scr_shader_initialize.yy",},},
{"id":{"name":"scr_ship_battle","path":"scripts/scr_ship_battle/scr_ship_battle.yy",},},
{"id":{"name":"scr_ship_combat_data","path":"scripts/scr_ship_combat_data/scr_ship_combat_data.yy",},},
{"id":{"name":"scr_ship_count","path":"scripts/scr_ship_count/scr_ship_count.yy",},},
{"id":{"name":"scr_ship_occupants","path":"scripts/scr_ship_occupants/scr_ship_occupants.yy",},},
{"id":{"name":"scr_ship_weapon_struct","path":"scripts/scr_ship_weapon_struct/scr_ship_weapon_struct.yy",},},
{"id":{"name":"scr_ShipStruct","path":"scripts/scr_ShipStruct/scr_ShipStruct.yy",},},
{"id":{"name":"scr_shoot","path":"scripts/scr_shoot/scr_shoot.yy",},},
{"id":{"name":"scr_special_view","path":"scripts/scr_special_view/scr_special_view.yy",},},
{"id":{"name":"scr_specialist_point_handler","path":"scripts/scr_specialist_point_handler/scr_specialist_point_handler.yy",},},
Expand All @@ -931,6 +938,7 @@
{"id":{"name":"scr_struct_functions","path":"scripts/scr_struct_functions/scr_struct_functions.yy",},},
{"id":{"name":"scr_system_search_helpers","path":"scripts/scr_system_search_helpers/scr_system_search_helpers.yy",},},
{"id":{"name":"scr_system_spawn_functions","path":"scripts/scr_system_spawn_functions/scr_system_spawn_functions.yy",},},
{"id":{"name":"scr_system_spawn","path":"scripts/scr_system_spawn/scr_system_spawn.yy",},},
{"id":{"name":"scr_Table","path":"scripts/scr_Table/scr_Table.yy",},},
{"id":{"name":"scr_target","path":"scripts/scr_target/scr_target.yy",},},
{"id":{"name":"scr_text_hit","path":"scripts/scr_text_hit/scr_text_hit.yy",},},
Expand All @@ -940,6 +948,8 @@
{"id":{"name":"scr_trade","path":"scripts/scr_trade/scr_trade.yy",},},
{"id":{"name":"scr_transfer_marines","path":"scripts/scr_transfer_marines/scr_transfer_marines.yy",},},
{"id":{"name":"scr_turn_first","path":"scripts/scr_turn_first/scr_turn_first.yy",},},
{"id":{"name":"scr_tyranid_fleet_functions","path":"scripts/scr_tyranid_fleet_functions/scr_tyranid_fleet_functions.yy",},},
{"id":{"name":"scr_tyranid_planet_functions","path":"scripts/scr_tyranid_planet_functions/scr_tyranid_planet_functions.yy",},},
{"id":{"name":"scr_ui_advisors","path":"scripts/scr_ui_advisors/scr_ui_advisors.yy",},},
{"id":{"name":"scr_ui_diplomacy","path":"scripts/scr_ui_diplomacy/scr_ui_diplomacy.yy",},},
{"id":{"name":"scr_ui_display_weapons","path":"scripts/scr_ui_display_weapons/scr_ui_display_weapons.yy",},},
Expand Down Expand Up @@ -1621,6 +1631,7 @@
{"id":{"name":"spr_ship_razorfiend","path":"sprites/spr_ship_razorfiend/spr_ship_razorfiend.yy",},},
{"id":{"name":"spr_ship_reaper","path":"sprites/spr_ship_reaper/spr_ship_reaper.yy",},},
{"id":{"name":"spr_ship_shadow","path":"sprites/spr_ship_shadow/spr_ship_shadow.yy",},},
{"id":{"name":"spr_ship_shields","path":"sprites/spr_ship_shields/spr_ship_shields.yy",},},
{"id":{"name":"spr_ship_shroud","path":"sprites/spr_ship_shroud/spr_ship_shroud.yy",},},
{"id":{"name":"spr_ship_slam","path":"sprites/spr_ship_slam/spr_ship_slam.yy",},},
{"id":{"name":"spr_ship_song","path":"sprites/spr_ship_song/spr_ship_song.yy",},},
Expand Down
5 changes: 3 additions & 2 deletions datafiles/data/traits.json
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@
},
"perfectionist": {
"display_name": "Perfectionist",
"flavour_text": "Obsessed with doing things correctly",
"flavour_text": "Obsessed with doing things correctly and Training to perfection",
"wisdom": [
2,
2,
Expand All @@ -487,7 +487,8 @@
"piety": [
2,
1
]
],
"effect": "When captaining a ship weapons have a 10% increased reload time"
},
"guardian": {
"display_name": "Guardian",
Expand Down
13 changes: 7 additions & 6 deletions objects/obj_al_in/Step_0.gml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ if (owner == eFACTION.Chaos) then sprite_index = spr_ship_dreadclaw;
image_angle = direction;
if (cooldown1 > 0) then cooldown1 -= 1;

var dist, range;
var target_distance, range;
if (instance_exists(target)) {

dist = point_distance(x, y, target.x, target.y);
target_distance = point_distance(x, y, target.x, target.y);
range = 100 + max(sprite_get_width(target.sprite_index), sprite_get_height(target.sprite_index));

if (action == "close") {
speed = 4;
direction = turn_towards_point(direction, x, y, target.x, target.y, 6);
}
if (dist < range) and(dist > 100) and(action = "close") then action = "shoot";
if (action == "shoot") and(dist > range) then action = "close";
if (dist < 80) and(action = "shoot") then action = "bank";
if (target_distance < range) and(target_distance > 100) and(action = "close") then action = "shoot";
if (action == "shoot") and(target_distance > range) then action = "close";
if (target_distance < 80) and(action = "shoot") then action = "bank";
if (action == "bank") then direction = turn_towards_point(direction, x, y, room_width, room_height / 2, 3);
if (action == "bank") and(dist > 300) then action = "close";
if (action == "bank") and(target_distance > 300) then action = "close";

if (action == "shoot") and(cooldown1 <= 0) {
var bull;
Expand All @@ -36,6 +36,7 @@ if (instance_exists(target)) {
bull.image_xscale = 0.5;
bull.image_yscale = 0.5;
bull.dam = 3;
bull.explosion_sprite = spr_explosion;
if (owner == 7) then bull.dam = 2;
}
} else if (!instance_exists(target)) or (target.x <= -4000) {
Expand Down
21 changes: 1 addition & 20 deletions objects/obj_al_round/Collision_obj_en_ship.gml
Original file line number Diff line number Diff line change
@@ -1,20 +1 @@
// Handles damage allocation on space combat against ships based on shields and hp
var arm = other.armour_front;
var t1 = 0;

if (arm < dam) {
dam -= arm;
if (other.shields > 0) other.shields -= dam / 2;
else other.hp -= dam / 2;
}

if (arm > dam) {
if (other.shields > 0) other.shields -= 0.5;
if (other.shields <= 0) other.hp -= 0.5;
}

if (sprite_index == spr_torpedo) {
instance_create(x, y, obj_explosion);
}

instance_destroy();
round_collision_with_ship();
3 changes: 2 additions & 1 deletion objects/obj_al_round/Create_0.gml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
dam = 0;
image_angle=direction;
image_angle=direction;
explosion_sprite = spr_explosion;
20 changes: 1 addition & 19 deletions objects/obj_al_round/Step_0.gml
Original file line number Diff line number Diff line change
@@ -1,19 +1 @@
image_angle = direction;

if (x < -1000)
or(x > room_width + 1000)
or(y < -1000)
or(y > room_height + 1000)
then instance_destroy();

var th, thd;
if (dam <= 4) {
if (instance_exists(obj_p_th)) {
th = instance_nearest(x, y, obj_p_th);
thd = point_distance(x, y, th.x, th.y);
if (thd < 6) {
th.hp -= (self.dam - 1);
instance_destroy();
}
}
}
round_step_logic();
Loading