Import part two.

added alt click to rotate and added to cargo packs.
This commit is contained in:
Yipper Yapper
2021-07-28 20:27:34 -07:00
parent 147e4d5f58
commit ab8b9f08c9
4 changed files with 27 additions and 20 deletions
+19 -19
View File
@@ -1,72 +1,66 @@
/obj/structure/micro_brick
icon = 'icons/obj/small_world.dmi'
anchored = FALSE
var/buildstacktype = /obj/item/stack/sheet/micro_bricks
/obj/structure/micro_brick/ComponentInitialize()
. = ..()
AddComponent(/datum/component/simple_rotation,ROTATION_ALTCLICK | ROTATION_CLOCKWISE)
/obj/structure/micro_brick/road_fourway
name = "Road fourway"
desc = "roundabouts are better!"
icon_state = "roadfourway"
anchored = TRUE
resistance_flags = FLAMMABLE
max_integrity = 100
integrity_failure = 30
var/buildstacktype = /obj/item/stack/sheet/metal
var/buildstackamount = 2
/obj/structure/micro_brick/road_threeway
name = "Road threeway"
desc = "Ill take the back you get the front."
icon_state = "roadthreeway"
anchored = TRUE
resistance_flags = FLAMMABLE
max_integrity = 100
integrity_failure = 30
var/buildstacktype = /obj/item/stack/sheet/metal
var/buildstackamount = 2
/obj/structure/micro_brick/road_straight
name = "Road straight"
desc = "Is it gay if the balls touch?"
icon_state = "roadstraight"
anchored = TRUE
resistance_flags = FLAMMABLE
max_integrity = 100
integrity_failure = 30
var/buildstacktype = /obj/item/stack/sheet/metal
var/buildstackamount = 2
/obj/structure/micro_brick/Road_turn
name = "Road turn"
desc = "Bending the Rules."
//i cannot find a joke for this :(
icon_state = "roadturn"
anchored = TRUE
resistance_flags = FLAMMABLE
max_integrity = 100
integrity_failure = 30
var/buildstacktype = /obj/item/stack/sheet/metal
var/buildstackamount = 2
/obj/structure/micro_brick/small_house
name = "Small houses"
desc = "Lets hope this household does their taxes!"
icon_state = "smallhouses"
anchored = TRUE
resistance_flags = FLAMMABLE
max_integrity = 100
integrity_failure = 30
var/buildstacktype = /obj/item/stack/sheet/metal
var/buildstackamount = 2
/obj/structure/micro_brick/small_business
name = "Small business"
desc = "A place for not many 9's with how many 5's"
icon_state = "smallbusiness"
anchored = TRUE
var/rotation_flags = TRUE
resistance_flags = FLAMMABLE
max_integrity = 100
integrity_failure = 30
var/buildstacktype = /obj/item/stack/sheet/metal
var/buildstackamount = 2
/obj/structure/micro_brick/small_warehouse
@@ -74,25 +68,21 @@
desc = "The house has been exposed to the moon light and is now a warehouse!"
// https://i.redd.it/4ke5819c2ib61.jpg
icon_state = "warehouse"
anchored = TRUE
resistance_flags = FLAMMABLE
max_integrity = 100
integrity_failure = 30
var/buildstacktype = /obj/item/stack/sheet/metal
var/buildstackamount = 2
/obj/structure/micro_brick/small_museum
name = "Small museum"
desc = "A place to store old and small relics found around the station "
icon_state = "smallmuseum"
anchored = TRUE
resistance_flags = FLAMMABLE
max_integrity = 100
integrity_failure = 30
var/buildstacktype = /obj/item/stack/sheet/metal
var/buildstackamount = 2
/obj/item/micro_brick/moon
/obj/item/moon
name = "Small moon"
icon_state = "smallmoon"
icon = 'icons/obj/small_world.dmi'
@@ -101,4 +91,14 @@
throw_speed = 3
throw_range = 7
force = 0
total_mass = TOTAL_MASS_TINY_ITEM
total_mass = TOTAL_MASS_TINY_ITEM
/obj/structure/micro_brick/attackby(obj/item/I, mob/user, params)
if(istype(I, /obj/item/carpentry/glue))
to_chat(user,"<span class='notice'>You glue the bricks to the floor.</span>")
anchored = TRUE
if(istype(I, /obj/item/crowbar))
to_chat(user,"<span class='notice'>You pry the bricks from the floor.</span>")
anchored = FALSE
//probably could better, but im busy playing warframe rn to help Summer lmao -Dahl
// Merp -Summer