mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 05:27:01 +01:00
Ninja Greentext Fix
This commit is contained in:
@@ -38,7 +38,19 @@ ________________________________________________________________________________
|
||||
for(var/reagent_id in reagent_list)
|
||||
reagent_id == "uranium" ? reagents.add_reagent(reagent_id, r_maxamount+(a_boost*a_transfer)) : reagents.add_reagent(reagent_id, r_maxamount)//It will take into account uranium used for adrenaline boosting.
|
||||
cell = new/obj/item/weapon/cell/high//The suit should *always* have a battery because so many things rely on it.
|
||||
cell.charge = 9000//Starting charge should not be higher than maximum charge. It leads to problems with recharging.
|
||||
cell.charge = 9990//Starting charge should not be higher than maximum charge. It leads to problems with recharging.
|
||||
cell.maxcharge = 10000 // Due to Ponies' overhaul Ninjas began starting with a 15000 energy cell. This should fix that issue.
|
||||
|
||||
/*switch(s_rank) In preparation for Ninja overhaul, differeing starting charge levels for each rank of Ninja.
|
||||
if("Initiate")
|
||||
cell.charge = 7490
|
||||
cell.maxcharge = 7500
|
||||
if("Assassin")
|
||||
cell.charge = 9990
|
||||
cell.maxcharge = 10000
|
||||
if("Master")
|
||||
cell.maxcharge = 15000
|
||||
cell.charge = 14990*/
|
||||
|
||||
/obj/item/clothing/suit/space/space_ninja/Destroy()
|
||||
if(affecting)//To make sure the window is closed.
|
||||
|
||||
@@ -452,7 +452,8 @@ As such, it's hard-coded for now. No reason for it not to be, really.
|
||||
if(ishuman(M))
|
||||
log_admin("[key_name(src)] turned [M.key] into a Space Ninja.")
|
||||
spawn(10)
|
||||
M:create_mind_space_ninja()
|
||||
M.mind.assigned_role = "MODE"
|
||||
M.mind.special_role = "Ninja"
|
||||
M:equip_space_ninja(1)
|
||||
if(istype(M:wear_suit, /obj/item/clothing/suit/space/space_ninja))
|
||||
M:wear_suit:randomize_param()
|
||||
@@ -521,7 +522,8 @@ As such, it's hard-coded for now. No reason for it not to be, really.
|
||||
mind.assigned_role = "MODE"
|
||||
mind.special_role = "Ninja"
|
||||
|
||||
//ticker.mode.ninjas |= mind
|
||||
ticker.mode.ninjas += mind
|
||||
|
||||
return 1
|
||||
|
||||
/mob/living/carbon/human/proc/equip_space_ninja(safety=0)//Safety in case you need to unequip stuff for existing characters.
|
||||
|
||||
Reference in New Issue
Block a user