- change from Kotlin multi-platform to two subprojects.
- set up ts->lua generation
This commit is contained in:
parent
18dfc3ebdb
commit
ec94c68187
11 changed files with 1699 additions and 0 deletions
6
modules/mod/src/main/typescript/events.ts
Normal file
6
modules/mod/src/main/typescript/events.ts
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
script.on_event(
|
||||
[defines.events.on_pre_build, defines.events.on_player_dropped_item],
|
||||
(e: OnPreBuildEvent | OnPlayerDroppedItemEvent) => {
|
||||
log("player " + e.player_index + " dropped item, tick:" + e.tick)
|
||||
}
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue