Replace ablative bat with spear. Give ruins a max distance from the transit edge, to dissuade spawning too close to the station.

This commit is contained in:
BlackMajor
2020-02-21 00:22:50 +13:00
parent 9a54b451eb
commit cf0b1bbac6
2 changed files with 6 additions and 2 deletions
@@ -20,7 +20,6 @@
icon_state = "medium"
},
/obj/item/reagent_containers/food/snacks/meat/slab/spider,
/obj/item/melee/baseball_bat/ablative,
/turf/open/floor/mineral/titanium/blue,
/area/ruin/unpowered)
"q" = (
@@ -45,6 +44,7 @@
/area/ruin/unpowered)
"C" = (
/obj/effect/decal/remains/human,
/obj/item/twohanded/spear,
/turf/open/floor/mineral/titanium/blue,
/area/ruin/unpowered)
"F" = (
+5 -1
View File
@@ -6,7 +6,11 @@
sanity--
var/width_border = TRANSITIONEDGE + SPACERUIN_MAP_EDGE_PAD + round(width / 2)
var/height_border = TRANSITIONEDGE + SPACERUIN_MAP_EDGE_PAD + round(height / 2)
var/turf/central_turf = forced_turf ? forced_turf : locate(rand(width_border, world.maxx - width_border), rand(height_border, world.maxy - height_border), z)
var/turf/central_turf
if(is_station_level(z)) //used to make a square around the station for generating station side ruins without getting too close.
central_turf = pick(block(locate(10,10,z), locate((world.maxx - 10), (world.maxy - 10), z)) - block(locate(45,45,z), locate(210,210,z))) //FIGURE OUT A BETTER WAY TO DO THIS
else
central_turf = forced_turf ? forced_turf : locate(rand(width_border, world.maxx - width_border), rand(height_border, world.maxy - height_border), z)
var/valid = TRUE
for(var/turf/check in get_affected_turfs(central_turf,1))