Skip to content

Commit

Permalink
new pred gear!! hopefully I named the DMIs right!!
Browse files Browse the repository at this point in the history
  • Loading branch information
Nomoresolvalou committed Oct 25, 2024
1 parent ca37cfa commit 3df9da6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions code/modules/client/preferences.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1309,10 +1309,10 @@ GLOBAL_LIST_INIT(bgstate_options, list(
return
predator_translator_type = new_translator_type
if("pred_mask_type")
var/new_predator_mask_type = tgui_input_number(user, "Choose your mask type:\n(1-12)", "Mask Selection", 1, 12, 1)
var/new_predator_mask_type = tgui_input_number(user, "Choose your mask type:\n(1-17)", "Mask Selection", 1, 17, 1)
if(new_predator_mask_type) predator_mask_type = floor(text2num(new_predator_mask_type))
if("pred_armor_type")
var/new_predator_armor_type = tgui_input_number(user, "Choose your armor type:\n(1-7)", "Armor Selection", 1, 7, 1)
var/new_predator_armor_type = tgui_input_number(user, "Choose your armor type:\n(1-8)", "Armor Selection", 1, 8, 1)
if(new_predator_armor_type) predator_armor_type = floor(text2num(new_predator_armor_type))
if("pred_boot_type")
var/new_predator_boot_type = tgui_input_number(user, "Choose your greaves type:\n(1-4)", "Greave Selection", 1, 4, 1)
Expand Down
4 changes: 2 additions & 2 deletions code/modules/cm_preds/yaut_items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
fire_intensity_resistance = 10
black_market_value = 100

/obj/item/clothing/suit/armor/yautja/Initialize(mapload, armor_number = rand(1,7), armor_material = "ebony", legacy = "None")
/obj/item/clothing/suit/armor/yautja/Initialize(mapload, armor_number = rand(1,8), armor_material = "ebony", legacy = "None")
. = ..()
if(thrall)
return
Expand All @@ -87,7 +87,7 @@
LAZYSET(item_state_slots, WEAR_JACKET, "halfarmor_elder_n")
return

if(armor_number > 7)
if(armor_number > 8)
armor_number = 1
if(armor_number) //Don't change full armor number
icon_state = "halfarmor[armor_number]_[armor_material]"
Expand Down
4 changes: 2 additions & 2 deletions code/modules/cm_preds/yaut_mask.dm
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
///A list of all intrinsic mask actions
var/list/mask_actions = list(/datum/action/predator_action/mask/zoom, /datum/action/predator_action/mask/visor)

/obj/item/clothing/mask/gas/yautja/New(location, mask_number = rand(1,12), armor_material = "ebony", legacy = "None")
/obj/item/clothing/mask/gas/yautja/New(location, mask_number = rand(1,17), armor_material = "ebony", legacy = "None")
..()
forceMove(location)
if(thrall)
Expand All @@ -71,7 +71,7 @@
LAZYSET(item_state_slots, WEAR_FACE, "pred_mask_elder_n")
return

if(mask_number > 12)
if(mask_number > 17)
mask_number = 1
icon_state = "pred_mask[mask_number]_[armor_material]"
LAZYSET(item_state_slots, WEAR_FACE, "pred_mask[mask_number]_[armor_material]")
Expand Down
Binary file modified icons/mob/humans/onmob/hunter/pred_gear.dmi
Binary file not shown.
Binary file modified icons/obj/items/hunter/pred_gear.dmi
Binary file not shown.

0 comments on commit 3df9da6

Please sign in to comment.