Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes Offset Table #11872

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

MarkusLarsson421
Copy link
Contributor

@MarkusLarsson421 MarkusLarsson421 commented Nov 11, 2024

About The Pull Request

Table in Science Security has been offset for like two months now. Time to fix it.

Why It's Good For The Game

Maybe finally BeeStation with get 100+ pop?

Testing Photographs and Procedure

Screenshots&Videos

Works!

image

Changelog

🆑
fix: (Meta) Fixed offset table in Science Security Outpost.
/:cl:

@MarkusLarsson421
Copy link
Contributor Author

The smallest PR I've made to date.

@github-actions github-actions bot added the Mapping DMM Change label Nov 11, 2024
@github-actions github-actions bot added the Tools label Nov 11, 2024
@Marshmellow105
Copy link

soul removal 🔑

Comment on lines +3 to +4
pixel_x:
pixel_y:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
pixel_x:
pixel_y:
- pixel_x
- pixel_y

This is only syntactic, but name: should be used for when we are defining something inside of it:

If we want to be more specific, we can write out the specific variables we want to ban.

/mob/dog
  banned_variables:
  - species # Don't var-edit species, use the subtypes

We can also explicitly create allowlists and denylists of values through allow and deny. For example, if we want to make sure we're not creating invalid bowls for animals, we can write:

/obj/bowl/dog:
  banned_variables:
    species:
      # If we specify a species, it's gotta be a dog
      allow: ["beagle", "corgi", "pomeranian"]

/obj/bowl/humans:
  banned_variables:
    species:
      # We're civilized, we don't want to eat from the same bowl that's var-edited for animals
      deny: ["cats", "dogs"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants