Add spawnCondition field to all entities
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- design
Research direction
Start by reading how entity attributes are defined and exposed to the map editor, using ig.ENTITY.Prop and ig.ENTITY.Door as examples. Find where the editor decides which attributes an entity can have, then make spawnCondition available across entities. Done means the editor lets users set spawnCondition for entities such as Door, consistent with the existing JSON behavior.
Written by the indexing model from the issue text.
Description
Krypek discovered that spawnCondition is a global property that all entities can have. The map editor already supports spawnCondition for various entities like props because spawnCondition is a defined attribute in the code of ig.ENTITY.Prop.
However, something like ig.ENTITY.Door does not have it as an attribute and thus the map editor doesn't let you define it. Yet you can add spawnCondition to a Door entity using json and it works like any other entity with spawnCondition.
I needed to use this for a door recently, it would help if the map editor let you define spawnCondition for all entities.
- Dominant language
- TypeScript
- Stars
- 59
- Forks
- 19
- Avg merge
- 32m
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CCDirectLink/crosscode-map-editor
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
internal
Difficulty 3/5 1-2 days Newbie friendliness 52/100
-
Difficulty 3/5 1-2 days Newbie friendliness 39/100
All issues in CCDirectLink/crosscode-map-editor
Similar issues
-
test: claim-conflict drop leaves both facts active and is never re-proposed (untested review cell)Open
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
[Feature]: Usage page should show API-equivalent cost and say when a connected plan shows info onlyOpenenhancement from-x
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
nightly-labs/openbot#4867 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
egonSchiele/agency-lang#1377 ·
Maintainers usually reply within 1 day
-
normalizePath removes the Windows device namespace prefixPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
caprover/caprover-frontend#273 ·
Maintainers usually reply within 1 day