mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
Fox 4
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
return
|
||||
spawn_item(T)
|
||||
|
||||
/obj/effect/spawner/random_spawners/proc/spawn_item(var/turf/T)
|
||||
/obj/effect/spawner/random_spawners/proc/spawn_item(turf/T)
|
||||
if(!prob(spawn_nothing_percentage))
|
||||
var/thing_to_place = pickweight(result)
|
||||
if(ispath(thing_to_place, /turf))
|
||||
@@ -188,7 +188,7 @@
|
||||
/obj/item/clothing/mask/gas/syndicate = 1,
|
||||
/obj/item/storage/box/syndie_kit/cutouts = 1)
|
||||
|
||||
/obj/effect/spawner/random_spawners/syndicate/loot/spawn_item(var/turf/T)
|
||||
/obj/effect/spawner/random_spawners/syndicate/loot/spawn_item(turf/T)
|
||||
if(!prob(spawn_nothing_percentage))
|
||||
var/thing_to_place = pickweight(result)
|
||||
if(ispath(thing_to_place, /turf))
|
||||
|
||||
@@ -109,7 +109,7 @@ Frequency:
|
||||
/obj/item/hand_tele/attack_self(mob/user as mob)
|
||||
var/turf/current_location = get_turf(user)//What turf is the user on?
|
||||
var/area/current_area = get_area(user)
|
||||
if(!current_location||!is_teleport_allowed(current_location.z) || current_area.tele_proof)//If turf was not found or they're somewhere teleproof
|
||||
if(!current_location || !is_teleport_allowed(current_location.z) || current_area.tele_proof)//If turf was not found or they're somewhere teleproof
|
||||
to_chat(user, "<span class='notice'>\The [src] is malfunctioning.</span>")
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user