mirror of
https://github.com/Sandstorm-Station/Sandstorm-Station-13.git
synced 2026-08-23 13:18:59 +01:00
Many borg changes (seriously) (#69)
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
/obj/item/stack/sheet/plasmaglass/cyborg
|
||||
custom_materials = null
|
||||
//var/datum/robot_energy_storage/glasource
|
||||
//var/datum/robot_energy_storage/plasource
|
||||
//var/glacost = 250
|
||||
//var/placost = 250
|
||||
cost = 500
|
||||
is_cyborg = 1
|
||||
/* commented out to pick shit up
|
||||
/obj/item/stack/sheet/plasmaglass/cyborg/get_amount()
|
||||
return min(round(plasource.energy / placost), round(glasource.energy / glacost))
|
||||
|
||||
/obj/item/stack/sheet/plasmaglass/cyborg/use(used, transfer = FALSE) // Requires special checks, because it uses two storages
|
||||
plasource.use_charge(used * placost)
|
||||
glasource.use_charge(used * glacost)
|
||||
|
||||
/obj/item/stack/sheet/plasmaglass/cyborg/add(amount)
|
||||
plasource.add_charge(amount * placost)
|
||||
glasource.add_charge(amount * glacost)
|
||||
*/
|
||||
/obj/item/stack/sheet/plasmarglass/cyborg
|
||||
custom_materials = null
|
||||
//var/datum/robot_energy_storage/glasource
|
||||
//var/datum/robot_energy_storage/plasource
|
||||
//var/glacost = 500
|
||||
//var/placost = 500
|
||||
cost = 1000
|
||||
is_cyborg = 1
|
||||
/* commented out to pick shit up
|
||||
/obj/item/stack/sheet/plasmarglass/cyborg/get_amount()
|
||||
return min(round(glasource.energy / glacost), round(plasource.energy / placost))
|
||||
|
||||
/obj/item/stack/sheet/plasmarglass/cyborg/use(used, transfer = FALSE) // Requires special checks, because it uses two storages
|
||||
glasource.use_charge(used * glacost)
|
||||
plasource.use_charge(used * placost)
|
||||
|
||||
/obj/item/stack/sheet/plasmarglass/cyborg/add(amount)
|
||||
glasource.add_charge(amount * glacost)
|
||||
plasource.add_charge(amount * placost)
|
||||
*/
|
||||
@@ -0,0 +1,15 @@
|
||||
/obj/item/stack/sheet/mineral/plasma/cyborg
|
||||
custom_materials = null
|
||||
is_cyborg = 1
|
||||
cost = 500
|
||||
|
||||
/obj/item/stack/sheet/mineral/plasma/cyborg/attackby(obj/item/W as obj, mob/user as mob, params)
|
||||
if(W.get_temperature() > 9999)//If the temperature of the object is over 9999, then ignite
|
||||
var/turf/T = get_turf(src)
|
||||
message_admins("Plasma sheets attempted to be ignited by [ADMIN_LOOKUPFLW(user)] in [ADMIN_VERBOSEJMP(T)]")
|
||||
log_game("Plasma sheets attempted to be ignited by [key_name(user)] in [AREACOORD(T)]")
|
||||
else
|
||||
return ..()
|
||||
|
||||
/obj/item/stack/sheet/mineral/plasma/cyborg/fire_act(exposed_temperature, exposed_volume)
|
||||
atmos_spawn_air("plasma=[amount*0];TEMP=[null]")
|
||||
@@ -0,0 +1,34 @@
|
||||
/obj/item/stack/sheet/plasteel/cyborg
|
||||
custom_materials = null
|
||||
//var/datum/robot_energy_storage/metsource
|
||||
//var/datum/robot_energy_storage/plasource
|
||||
//var/metcost = 250
|
||||
//var/placost = 250
|
||||
cost = 500
|
||||
is_cyborg = 1
|
||||
/* Commented out to pick up shit
|
||||
/obj/item/stack/sheet/plasteel/cyborg/get_amount()
|
||||
return min(round(source.energy / metcost), round(plasource.energy / placost))
|
||||
|
||||
/obj/item/stack/sheet/plasteel/cyborg/use(used, transfer = FALSE) // Requires special checks, because it uses two storages
|
||||
source.use_charge(used * metcost)
|
||||
plasource.use_charge(used * placost)
|
||||
|
||||
/obj/item/stack/sheet/plasteel/cyborg/add(amount)
|
||||
source.add_charge(amount * metcost)
|
||||
plasource.add_charge(amount * placost)
|
||||
*/
|
||||
|
||||
/obj/item/stack/sheet/mineral/wood
|
||||
name = "wooden plank"
|
||||
desc = "One can only guess that this is a bunch of wood. You might be able to make a stake with this if you use something sharp on it"
|
||||
singular_name = "wood plank"
|
||||
icon_state = "sheet-wood"
|
||||
item_state = "sheet-wood"
|
||||
icon = 'icons/obj/stack_objects.dmi'
|
||||
sheettype = "wood"
|
||||
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 50, "acid" = 0)
|
||||
resistance_flags = FLAMMABLE
|
||||
merge_type = /obj/item/stack/sheet/mineral/wood
|
||||
novariants = TRUE
|
||||
grind_results = list(/datum/reagent/cellulose = 20)
|
||||
Reference in New Issue
Block a user