Skip to content

Commit

Permalink
fix: obliterated disadvantage
Browse files Browse the repository at this point in the history
  • Loading branch information
Blogaugis committed Feb 26, 2025
1 parent e1e9fd3 commit 821f24f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 2 deletions.
2 changes: 1 addition & 1 deletion objects/obj_controller/Create_0.gml
Original file line number Diff line number Diff line change
Expand Up @@ -1461,7 +1461,7 @@ loyalty_hidden=100;// Updated when inquisitors do an inspection
// ** Sets up gene seed **
gene_seed=20;
if scr_has_disadv("Sieged") then gene_seed=floor(random_range(250,400));
if scr_has_disadv("Obliterated") then gene_seed=floor(random_range(50,200));
if scr_has_disadv("Obliterated") then gene_seed=floor(random_range(300,500));
if scr_has_disadv("Serpents Delight") then gene_seed=floor(random_range(50,250));
if scr_has_disadv("Enduring Angels") then gene_seed=floor(random_range(50,250));
if (global.chapter_name=="Lamenters") then gene_seed=30;
Expand Down
35 changes: 34 additions & 1 deletion scripts/scr_initialize_custom/scr_initialize_custom.gml
Original file line number Diff line number Diff line change
Expand Up @@ -3229,11 +3229,14 @@ function scr_initialize_custom() {
}

if(scr_has_disadv("Sieged")){
scr_add_item("Servo-arm", 4);
scr_add_item(wep1[defaults_slot, eROLE.Techmarine], 4);
scr_add_item(wep2[defaults_slot, eROLE.Techmarine], 4);
scr_add_item("Narthecium", 4);
scr_add_item(wep1[defaults_slot, eROLE.Apothecary], 4);
scr_add_item(wep2[defaults_slot, eROLE.Apothecary], 4);
scr_add_item("Psychic Hood", 4);
scr_add_item("Force Staff", 4);
scr_add_item("Force Staff", 4); // These more or less cover the librarians
scr_add_item("Plasma Pistol", 4);
scr_add_item("Company Standard", 4);

Expand All @@ -3252,6 +3255,8 @@ function scr_initialize_custom() {
scr_add_item("Lascannon", 40);
scr_add_item("Power Sword", 12);
scr_add_item("Rosarius", 4);
scr_add_item(wep1[defaults_slot, eROLE.Chaplain], 4);
scr_add_item(wep2[defaults_slot, eROLE.Chaplain], 4); // With Crozius arcanum added, we want to add these
}
if (!scr_has_disadv("Sieged")) {
scr_add_item("Dreadnought", 6);
Expand All @@ -3262,6 +3267,34 @@ function scr_initialize_custom() {
scr_add_item("Close Combat Weapon", 4);
}

if(scr_has_disadv("Obliterated")){
scr_add_item("Servo-arm", 5);
scr_add_item(wep1[defaults_slot, eROLE.Techmarine], 5);
scr_add_item(wep2[defaults_slot, eROLE.Techmarine], 5);
scr_add_item("Narthecium", 5);
scr_add_item(wep1[defaults_slot, eROLE.Apothecary], 5);
scr_add_item(wep2[defaults_slot, eROLE.Apothecary], 5);
scr_add_item("Psychic Hood", 5);
scr_add_item("Force Staff", 5); // These more or less cover the librarians
scr_add_item("Plasma Pistol", 5);
scr_add_item("Company Standard", 5);

// Pretend that if crafters, terminator armor gets lost/stolen?

scr_add_item("MK7 Aquila", 200);
scr_add_item("Scout Armour", 100);
scr_add_item("Bolter", 200);
scr_add_item("Chainsword", 200);
scr_add_item("Jump Pack", 100);
scr_add_item("Bolt Pistol", 100);
scr_add_item("Heavy Bolter", 50);
scr_add_item("Lascannon", 50);
scr_add_item("Power Sword", 15);
scr_add_item("Rosarius", 5);
scr_add_item(wep1[defaults_slot, eROLE.Chaplain], 5);
scr_add_item(wep2[defaults_slot, eROLE.Chaplain], 5); // With crozius arcanum added, we want to add these
}

// man_size+=80;// bikes


Expand Down

0 comments on commit 821f24f

Please sign in to comment.