mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 03:55:11 +01:00
Adds button when pulling something
Fixes drone laws indentation
This commit is contained in:
@@ -60,6 +60,8 @@
|
||||
#define ui_alien_storage_l "CENTER-2:14,SOUTH:5"//alien
|
||||
#define ui_alien_storage_r "CENTER+1:18,SOUTH:5"//alien
|
||||
|
||||
#define ui_drone_drop "CENTER+1:18,SOUTH:5" //maintenance drones
|
||||
#define ui_drone_pull "CENTER+2:2,SOUTH:5" //maintenance drones
|
||||
#define ui_drone_storage "CENTER-2:14,SOUTH:5" //maintenance drones
|
||||
|
||||
//Lower right, persistant menu
|
||||
|
||||
@@ -41,10 +41,17 @@
|
||||
using.name = "drop"
|
||||
using.icon = ui_style
|
||||
using.icon_state = "act_drop"
|
||||
using.screen_loc = ui_storage1
|
||||
using.screen_loc = ui_drone_drop
|
||||
using.layer = 19
|
||||
adding += using
|
||||
|
||||
mymob.pullin = new /obj/screen()
|
||||
mymob.pullin.icon = ui_style
|
||||
mymob.pullin.icon_state = "pull0"
|
||||
mymob.pullin.name = "pull"
|
||||
mymob.pullin.screen_loc = ui_drone_pull
|
||||
adding += mymob.pullin
|
||||
|
||||
inv_box = new /obj/screen/inventory()
|
||||
inv_box.name = "r_hand"
|
||||
inv_box.icon = ui_style
|
||||
|
||||
@@ -28,9 +28,9 @@
|
||||
var/picked = FALSE
|
||||
var/list/drone_overlays[TOTAL_LAYERS]
|
||||
var/laws = \
|
||||
{"1. You may not involve yourself in the matters of another being, even if such matters conflict with Law Two or Law Three, unless the other being is another Drone.
|
||||
2. You may not harm any being, regardless of intent or circumstance.
|
||||
3. You must maintain, repair, improve, and power the station to the best of your abilities."}
|
||||
"1. You may not involve yourself in the matters of another being, even if such matters conflict with Law Two or Law Three, unless the other being is another Drone.\n"+\
|
||||
"2. You may not harm any being, regardless of intent or circumstance.\n"+\
|
||||
"3. You must maintain, repair, improve, and power the station to the best of your abilities."
|
||||
var/light_on = 0
|
||||
var/obj/item/internal_storage //Drones can store one item, of any size/type in their body
|
||||
|
||||
@@ -101,6 +101,13 @@
|
||||
|
||||
..()
|
||||
|
||||
/mob/living/simple_animal/drone/Move()
|
||||
if(pullin)
|
||||
if(pulling)
|
||||
pullin.icon_state = "pull"
|
||||
else
|
||||
pullin.icon_state = "pull0"
|
||||
..()
|
||||
|
||||
/mob/living/simple_animal/drone/IsAdvancedToolUser()
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user