module things, jfc
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
//lavaland_surface_pizzaparty.dmm
|
||||
|
||||
/obj/effect/spawner/lootdrop/pizzaparty
|
||||
name = "pizza bomb spawner"
|
||||
loot = list(/obj/item/pizzabox/margherita = 3,
|
||||
/obj/item/pizzabox/meat = 3,
|
||||
/obj/item/pizzabox/mushroom = 3,
|
||||
/obj/item/pizzabox/bomb = 1)
|
||||
lootdoubles = FALSE
|
||||
@@ -154,6 +154,8 @@
|
||||
var/tile_count = width * height
|
||||
|
||||
//Generate per tile icons
|
||||
var/icon/base_icon = get_base_icon()
|
||||
|
||||
for(var/id in 1 to tile_count)
|
||||
var/y = width - round((id - 1) / width)
|
||||
var/x = ((id - 1) % width) + 1
|
||||
@@ -163,7 +165,7 @@
|
||||
var/y_start = 1 + ((y - 1) * world.icon_size)
|
||||
var/y_end = y_start + world.icon_size - 1
|
||||
|
||||
var/icon/T = get_base_icon()
|
||||
var/icon/T = new(base_icon)
|
||||
T.Crop(x_start,y_start,x_end,y_end)
|
||||
puzzle_pieces["[id]"] = T
|
||||
left_ids += id
|
||||
@@ -290,10 +292,10 @@
|
||||
prisoner.notransform = FALSE
|
||||
prisoner = null
|
||||
|
||||
//Some armor so it's harder to kill someone by mistake. EDITED - Hugboxed
|
||||
//Some armor so it's harder to kill someone by mistake.
|
||||
/obj/structure/puzzle_element/prison
|
||||
resistance_flags = INDESTRUCTIBLE | ACID_PROOF | FIRE_PROOF | LAVA_PROOF
|
||||
|
||||
armor = list("melee" = 50, "bullet" = 50, "laser" = 50, "energy" = 50, "bomb" = 50, "bio" = 50, "rad" = 50, "fire" = 50, "acid" = 50)
|
||||
|
||||
/obj/structure/puzzle_element/prison/relaymove(mob/user)
|
||||
return
|
||||
|
||||
@@ -348,4 +350,4 @@
|
||||
//Move them into random block
|
||||
var/obj/structure/puzzle_element/E = pick(cube.elements)
|
||||
prisoner.forceMove(E)
|
||||
return TRUE
|
||||
return TRUE
|
||||
@@ -0,0 +1,22 @@
|
||||
//lavaland_surface_syndicate_base1.dmm
|
||||
|
||||
/obj/machinery/vending/syndichem
|
||||
name = "\improper SyndiChem"
|
||||
desc = "A vending machine full of grenades and grenade accessories. Sponsored by DonkCo(tm)."
|
||||
req_access = list(ACCESS_SYNDICATE)
|
||||
products = list(/obj/item/stack/cable_coil/random = 5,
|
||||
/obj/item/assembly/igniter = 20,
|
||||
/obj/item/assembly/prox_sensor = 5,
|
||||
/obj/item/assembly/signaler = 5,
|
||||
/obj/item/assembly/timer = 5,
|
||||
/obj/item/assembly/voice = 5,
|
||||
/obj/item/assembly/health = 5,
|
||||
/obj/item/assembly/infra = 5,
|
||||
/obj/item/grenade/chem_grenade = 5,
|
||||
/obj/item/grenade/chem_grenade/large = 5,
|
||||
/obj/item/grenade/chem_grenade/pyro = 5,
|
||||
/obj/item/grenade/chem_grenade/cryo = 5,
|
||||
/obj/item/grenade/chem_grenade/adv_release = 5,
|
||||
/obj/item/reagent_containers/food/drinks/bottle/holywater = 1)
|
||||
product_slogans = "It's not pyromania if you're getting paid!;You smell that? Plasma, son. Nothing else in the world smells like that.;I love the smell of Plasma in the morning."
|
||||
resistance_flags = FIRE_PROOF
|
||||
Reference in New Issue
Block a user