mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Merge skew mondays second merge skew (#72908)
This #72799 skewed with one of the AI PRs MERGE SKEW MONDAYSSSSS Shit also just shouldnt register signals in a getter Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
This commit is contained in:
@@ -110,6 +110,7 @@ multiple modular subtrees with behaviors
|
||||
set_ai_status(AI_STATUS_ON)
|
||||
else
|
||||
set_ai_status(get_setup_mob_ai_status(new_pawn))
|
||||
RegisterSignal(pawn, COMSIG_MOB_STATCHANGE, PROC_REF(on_stat_changed))
|
||||
|
||||
RegisterSignal(pawn, COMSIG_MOB_LOGIN, PROC_REF(on_sentience_gained))
|
||||
|
||||
@@ -123,7 +124,6 @@ multiple modular subtrees with behaviors
|
||||
if(ai_traits & CAN_ACT_WHILE_DEAD)
|
||||
return final_status
|
||||
|
||||
RegisterSignal(pawn, COMSIG_MOB_STATCHANGE, PROC_REF(on_stat_changed))
|
||||
if(mob_pawn.stat == DEAD)
|
||||
final_status = AI_STATUS_OFF
|
||||
|
||||
|
||||
@@ -659,7 +659,7 @@ const RecipeContentCompact = ({ item, craftable, busy, mode }, context) => {
|
||||
item.machinery
|
||||
.map((item) => data.atom_data[(item as any) - 1]?.name)
|
||||
.join(', ')}
|
||||
{item.structures &&
|
||||
{item.structures &&
|
||||
', ' +
|
||||
item.structures
|
||||
.map((item) => data.atom_data[(item as any) - 1]?.name)
|
||||
@@ -794,7 +794,7 @@ const RecipeContent = ({ item, craftable, busy, mode, diet }, context) => {
|
||||
))}
|
||||
</Box>
|
||||
)}
|
||||
{item.structures && (
|
||||
{item.structures && (
|
||||
<Box>
|
||||
<GroupTitle title="Structures" />
|
||||
{item.structures.map((atom_id) => (
|
||||
|
||||
Reference in New Issue
Block a user