mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 21:19:44 +01:00
Food Synthesizers (#19569)
* Food Synthesizers
Initial port, need to figure out what madness you people have done to tgui... and sprite sheets.
At this moment, it compiles but I haven't tested it yet. Too eepy
* iconforge spritesheet nonsense
* Cleaning up tgui menu
full disclosure, After six plus hours of trying to figure out how to do the spritesheets and the tgui stuff I just gave up on this particular bit and threw it into Gemini for a looksie over.
As it's originally my code I figure it's worth at least a reasonable proof read. The side-by-side comparison is pretty wild.
* Passes tgu-lint building
* Appease Gripe err Grep checks
* Oh these for the grep as well whoops
* Sorts out the backend
also piss off linter check, it's COMMENTED OUT aaaaaaaaaa.
* changes from will
* changes from will and some UI splitting, needs proper testing and final adjustments
* passadata
* .
* can be combined
* .
* ml={1}
* id
* Crew category
* id handling
* .
* more cleanup
* smaller cleanup
* why not
* deps up, minor tgui core fix
* timer
* .
* .
* missed to put that back
* order
* this
* Change preference category for foodsynth cookies
* Enforce south facement for cookie image
* Maurice I am no longer asking
* .
---------
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
@@ -101,7 +101,7 @@
|
||||
var/aflags
|
||||
var/breath_type = GAS_O2
|
||||
|
||||
/datum/transhuman/body_record/New(copyfrom, add_to_db = 0, ckeylock = 0)
|
||||
/datum/transhuman/body_record/New(copyfrom, add_to_db = FALSE, ckeylock = FALSE)
|
||||
..()
|
||||
if(istype(copyfrom, /datum/transhuman/body_record))
|
||||
init_from_br(copyfrom)
|
||||
@@ -118,7 +118,7 @@
|
||||
..()
|
||||
return QDEL_HINT_HARDDEL // For now at least there is no easy way to clear references to this in GLOB.machines etc.
|
||||
|
||||
/datum/transhuman/body_record/proc/init_from_mob(mob/living/carbon/human/M, add_to_db = 0, ckeylock = 0, database_key)
|
||||
/datum/transhuman/body_record/proc/init_from_mob(mob/living/carbon/human/M, add_to_db = FALSE, ckeylock = FALSE, database_key)
|
||||
ASSERT(!QDELETED(M))
|
||||
ASSERT(istype(M))
|
||||
|
||||
@@ -212,7 +212,6 @@
|
||||
for(var/datum/modifier/mod as anything in M.modifiers)
|
||||
if(mod.flags & MODIFIER_GENETIC)
|
||||
genetic_modifiers.Add(mod.type)
|
||||
|
||||
if(add_to_db)
|
||||
SStranscore.add_body(src, database_key = database_key)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user