mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
The supply shuttle can no longer transport monkeys. Monkey crates have therefore been removed, as ordering one would break the shuttle for the rest of the round.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@732 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -70,6 +70,7 @@
|
||||
containertype = "/obj/crate/freezer"
|
||||
containername = "Food crate"
|
||||
|
||||
/* DO NOT UNCOMMENT THIS, ORDERING THEM WILL BREAK THE SHUTTLE
|
||||
/datum/supply_packs/monkey
|
||||
name = "Monkey crate"
|
||||
contains = list("/mob/living/carbon/monkey",
|
||||
@@ -79,7 +80,7 @@
|
||||
"/mob/living/carbon/monkey")
|
||||
cost = 20
|
||||
containertype = "/obj/crate/freezer"
|
||||
containername = "Monkey crate"
|
||||
containername = "Monkey crate" */
|
||||
|
||||
/datum/supply_packs/engineering
|
||||
name = "Engineering crate"
|
||||
|
||||
@@ -129,10 +129,11 @@ var/ordernum=0
|
||||
var/shuttleat = supply_shuttle_at_station ? SUPPLY_STATION_AREATYPE : SUPPLY_DOCK_AREATYPE
|
||||
|
||||
for(var/turf/T in get_area_turfs(shuttleat) )
|
||||
if((locate(/mob/living) in T) && (!locate(/mob/living/carbon/monkey) in T)) return 0
|
||||
//if((locate(/mob/living) in T) && (!locate(/mob/living/carbon/monkey) in T)) return 0 //old check for living excluded monkeys
|
||||
if((locate(/mob/living) in T)) return 0
|
||||
if((locate(/obj/item/device/radio/beacon) in T)) return 0
|
||||
for(var/atom/ATM in T)
|
||||
if((locate(/mob/living) in ATM) && (!locate(/mob/living/carbon/monkey) in ATM)) return 0
|
||||
if((locate(/mob/living) in ATM)) return 0
|
||||
if((locate(/obj/item/device/radio/beacon) in ATM)) return 0
|
||||
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user