Skip to content

Cloning fixes#439

Merged
PsyCommando merged 1 commit intoPersistentSS13:devfrom
NataKilar:cloning-fixes
Mar 18, 2023
Merged

Cloning fixes#439
PsyCommando merged 1 commit intoPersistentSS13:devfrom
NataKilar:cloning-fixes

Conversation

@NataKilar
Copy link
Collaborator

Description of changes

  • The cloning program now prompts for the save location of the backup file after cloning is complete
  • Limbo mobs are no longer stored in limbo, instead staying in an abstract object in the chargen z-level. Enjoy the pretty skybox while you suffer!
  • Players who are rejuvenated or otherwise revived will now be recovered from limbo in most cases

Why and what will this PR improve

Fixes some bugs that made cloning currently non-functional. Allows for non-tedious admin revives etc,
Fixes #422

@PsyCommando PsyCommando added the 🪲 bug Something isn't working label Mar 18, 2023
@PsyCommando PsyCommando added this to the Outreach Map Pre-Release milestone Mar 18, 2023

/mob/living/limbo/Initialize()
. = ..()
var/obj/item/organ/internal/stack/cortical_stack
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You sure it's a good idea to keep a ref directly like that? Because, if it has a stack it'll be iniside of it, no?
loc references don't prevent deleting, but that var would.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, the cortical stack should clear this on deletion.

Copy link
Collaborator

@PsyCommando PsyCommando left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not really seeing any significant problems with this. So it should be good.

maploader.load_map(file("maps/chargen/chargen.dmm"), ((x - 1) * width) + 1, ((y - 1) * height) + 1, map_z, no_changeturf = TRUE)
CHECK_TICK

limbo_holder = new(locate(world.maxx / 2, world.maxy / 2, map_z))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess that'll work for now, but that's a bit rough around the edges XD

@PsyCommando PsyCommando merged commit dc40302 into PersistentSS13:dev Mar 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🪲 bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix cloning

2 participants