Add spawnCondition field to all entities

Aperta
#335 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
typescript
Ambito
design

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

easy fix help wanted

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.

Lingua principale
TypeScript
Stelle
59
Fork
19
Merge medio
32m
PR unite (30g)
2

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CCDirectLink/crosscode-map-editor

Tutte le issue di CCDirectLink/crosscode-map-editor

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.