Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Steelpoint committed Jul 25, 2023
1 parent 5ced4a3 commit e54eb78
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
28 changes: 14 additions & 14 deletions code/modules/gear_presets/_select_equipment.dm
Original file line number Diff line number Diff line change
Expand Up @@ -971,34 +971,34 @@ var/list/rebel_rifles = list(
new_human.equip_to_slot_or_del(new /obj/item/ammo_magazine/handful/shotgun/heavy/buckshot(new_human), WEAR_IN_BACK)

/datum/equipment_preset/proc/spawn_random_upp_headgear(mob/living/carbon/human/new_human)
var/i = rand(1,10)
switch(i)
if (1 , 2)
var/random_hat = rand(1,10)
switch(random_hat)
if (1, 2)
new_human.equip_to_slot_or_del(new /obj/item/clothing/head/helmet/marine/veteran/UPP(new_human), WEAR_HEAD)
if (3 , 4 , 5)
if (3, 4, 5)
new_human.equip_to_slot_or_del(new /obj/item/clothing/head/uppcap(new_human), WEAR_HEAD)
if (6 , 7)
if (6, 7)
new_human.equip_to_slot_or_del(new /obj/item/clothing/head/uppcap/beret(new_human), WEAR_HEAD)
if (8 , 9)
if (8, 9)
new_human.equip_to_slot_or_del(new /obj/item/clothing/head/uppcap/ushanka(new_human), WEAR_HEAD)

/datum/equipment_preset/proc/spawn_random_upp_armor(mob/living/carbon/human/new_human)
var/i = rand(1,4)
switch(i)
if (1 , 2 , 3)
// new_human.equip_to_slot_or_del(new /obj/item/clothing/under/marine/veteran/UPP (new_human), WEAR_BODY)
var/random_gear = rand(1, 4)
switch(random_gear)
if (1, 2, 3)
new_human.equip_to_slot_or_del(new /obj/item/clothing/under/marine/veteran/UPP (new_human), WEAR_BODY)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/webbing(new_human), WEAR_JACKET)
new_human.equip_to_slot_or_del(new /obj/item/tool/crowbar(new_human), WEAR_IN_JACKET)
new_human.equip_to_slot_or_del(new /obj/item/device/flashlight(new_human), WEAR_J_STORE)
if (4)
// new_human.equip_to_slot_or_del(new /obj/item/clothing/under/marine/veteran/UPP (new_human), WEAR_BODY)
new_human.equip_to_slot_or_del(new /obj/item/clothing/under/marine/veteran/UPP (new_human), WEAR_BODY)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/marine/faction/UPP(new_human), WEAR_JACKET)
new_human.equip_to_slot_or_del(new /obj/item/tool/crowbar(new_human), WEAR_IN_JACKET)

/datum/equipment_preset/proc/spawn_random_upp_belt(mob/living/carbon/human/new_human)
var/i = rand(1,3)
switch(i)
if (1 , 2)
var/random_gun = rand(1, 3)
switch(random_gun)
if (1, 2)
new_human.equip_to_slot_or_del(new /obj/item/storage/belt/gun/type47/NY(new_human), WEAR_WAIST)
if (3)
new_human.equip_to_slot_or_del(new /obj/item/storage/belt/marine/upp(new_human), WEAR_WAIST)
8 changes: 4 additions & 4 deletions code/modules/gear_presets/survivors.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1435,8 +1435,8 @@

/datum/equipment_preset/survivor/upp/load_gear(mob/living/carbon/human/new_human)
var/obj/item/clothing/under/marine/veteran/UPP/uniform = new()
var/R = rand(1,2)
switch(R)
var/random_number = rand(1,2)
switch(random_number)
if(1)
uniform.roll_suit_jacket(new_human)
if(2)
Expand All @@ -1459,8 +1459,8 @@

/datum/equipment_preset/survivor/upp/soldier/load_gear(mob/living/carbon/human/new_human)
var/obj/item/clothing/under/marine/veteran/UPP/uniform = new()
var/R = rand(1,2)
switch(R)
var/random_number = rand(1,2)
switch(random_number)
if(1)
uniform.roll_suit_jacket(new_human)
if(2)
Expand Down

0 comments on commit e54eb78

Please sign in to comment.