From 6e586abdb7426bafeff6c31d33695430debe141c Mon Sep 17 00:00:00 2001 From: Xie Yuheng Date: Wed, 15 Nov 2023 11:45:43 +0800 Subject: [PATCH] Place and Transition -- has modId --- TODO.md | 2 -- src/lang/place/Place.ts | 1 + src/lang/transition/Transition.ts | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TODO.md b/TODO.md index 6e27778..56cea87 100644 --- a/TODO.md +++ b/TODO.md @@ -1,7 +1,5 @@ # module system -Place and Transition -- has modId - Mod has definitions: Map # loader diff --git a/src/lang/place/Place.ts b/src/lang/place/Place.ts index 152d009..0fe6749 100644 --- a/src/lang/place/Place.ts +++ b/src/lang/place/Place.ts @@ -1,4 +1,5 @@ export type Place = { + modId: string id: string name: string } diff --git a/src/lang/transition/Transition.ts b/src/lang/transition/Transition.ts index deaa65d..3dcc38b 100644 --- a/src/lang/transition/Transition.ts +++ b/src/lang/transition/Transition.ts @@ -1,4 +1,5 @@ export type Transition = { + modId: string id: string name: string }