Added survivalist job, wilderness spawn and checkpoint spawn to Cynosure.

This commit is contained in:
MistakeNot4892
2022-06-15 21:44:02 +10:00
parent edb54f137d
commit 8b8e1ecdf4
22 changed files with 714 additions and 441 deletions
+12 -12
View File
@@ -401,7 +401,7 @@
if(muzzle_flash)
set_light(0)
user.hud_used.update_ammo_hud(user, src)
// Similar to the above proc, but does not require a user, which is ideal for things like turrets.
@@ -746,16 +746,16 @@
/obj/item/gun/proc/get_ammo_count()
return FALSE
/obj/item/gun/equipped(mob/living/user, slot) // When a gun is equipped to your hands, we'll add the HUD to the user. Pending porting over TGMC guncode where wielding is far more sensible.
if(slot == slot_l_hand || slot == slot_r_hand)
user.hud_used.add_ammo_hud(user, src)
else
user.hud_used.remove_ammo_hud(user, src)
if(user?.hud_used)
if(slot == slot_l_hand || slot == slot_r_hand)
user.hud_used.add_ammo_hud(user, src)
else
user.hud_used.remove_ammo_hud(user, src)
return ..()
/obj/item/gun/dropped(mob/living/user) // Ditto as above, we remove the HUD. Pending porting TGMC code to clean up this fucking nightmare of spaghetti.
user.hud_used.remove_ammo_hud(user, src)
..()
/obj/item/gun/dropped(mob/living/user) // Ditto as above, we remove the HUD. Pending porting TGMC code to clean up this fucking nightmare of spaghetti.
if(user?.hud_used)
user.hud_used.remove_ammo_hud(user, src)
..()