70 Commits

Author SHA1 Message Date
Wuzzy
0359e09c83 The actual bugfix for missing item give in editor? 2024-08-08 14:16:32 +02:00
Wuzzy
505caf0a3b Print error message if adding initial item failed 2024-08-08 13:39:41 +02:00
Wuzzy
e689a2e1a1 Add workaround for pickaxe not appearing in editor 2024-08-07 23:00:59 +02:00
Wuzzy
cbcde09010 Editor: Keep file name in load/save dialog 2024-08-07 22:34:14 +02:00
Wuzzy
1711617fa9 Teleport to editor room *after* emerge is done 2024-08-07 20:01:58 +02:00
Wuzzy
93abfcdbf9 Reset editor level state when re-entering editor 2024-08-06 16:38:41 +02:00
Wuzzy
8ecf7f600b Highlight barriers and rain membranes in editor 2024-08-06 16:29:32 +02:00
Wuzzy
243b337620 Integrate weather into levels 2024-08-06 14:14:46 +02:00
Wuzzy
1cfed14781 Replace parrot model with information block 2024-08-04 08:05:38 +02:00
Wuzzy
8cd7321287 Implement parrot spawning and speech 2024-08-03 22:56:26 +02:00
Wuzzy
3807ac4600 Remove give_initial_stuff, give items directly 2024-08-03 16:32:18 +02:00
Wuzzy
85c2b30d86 Add per-level skies 2024-08-03 15:54:51 +02:00
Wuzzy
0cfdd3ef15 Reset editor privs on shutdown and startup 2024-08-03 13:16:05 +02:00
Wuzzy
a6c549d661 Editor: Set spawn_pos in build_room 2024-08-03 12:38:02 +02:00
Wuzzy
43733fc927 Use drop-down list to select ambiences 2024-08-03 09:53:00 +02:00
Wuzzy
06c3652611 Play ambience in editor 2024-08-03 09:32:04 +02:00
Wuzzy
6f5935b47d Highlight autosave level in editor level list 2024-08-03 09:18:01 +02:00
Wuzzy
d7558574f9 Add AUTOSAVE_NAME to lzr_globals 2024-08-03 09:10:22 +02:00
Wuzzy
609fbf4fac Remove CSV debug msgs 2024-08-03 09:03:07 +02:00
Wuzzy
8c47db53b6 Add fallback level name "Untitled" 2024-08-03 09:01:31 +02:00
Wuzzy
e84e4a2207 Editor: Get size from local state 2024-08-02 23:56:06 +02:00
Wuzzy
bdfff8daf1 Generalize level analysis to allow custom play 2024-08-02 20:55:23 +02:00
Wuzzy
d59428d36e Merge branch 'master' into custom_level_book 2024-08-02 19:53:48 +02:00
Wuzzy
165d267fde Fix code typo 2024-08-02 09:26:12 +02:00
Wuzzy
e71f33d3bc Add autosave for editor 2024-08-02 08:37:17 +02:00
Wuzzy
2690037455 Disallow slash and backslash in level load/save 2024-08-02 08:17:30 +02:00
Wuzzy
16f8092e9b Can confrm editor formspec with enter key 2024-08-02 03:17:05 +02:00
Wuzzy
cf368e2a4a No longer require privs for /editor commands 2024-08-02 01:51:53 +02:00
Wuzzy
dc551b1ad7 Disallow destroying out-of-bounds blocks 2024-08-02 00:35:56 +02:00
Wuzzy
a2dc32cb0c Add level editor book in main ship 2024-08-01 23:36:03 +02:00
Wuzzy
32c684698a WIP: Add custom level book 2024-08-01 23:26:37 +02:00
Wuzzy
ddfb2722ff Remove /editor_size command 2024-08-01 22:07:07 +02:00
Wuzzy
086d66f1fe Change editor welcome message 2024-08-01 22:05:47 +02:00
Wuzzy
5e5150b1b1 Change read mode of editor level loader 2024-08-01 20:43:16 +02:00
Wuzzy
102da0846c Editor: Write level metadata into CSV 2024-08-01 20:25:55 +02:00
Wuzzy
de3f73690a Show message when empty file name on save/load 2024-08-01 13:58:06 +02:00
Wuzzy
fbd8b4fb2f Editor: Init size after load 2024-08-01 13:54:44 +02:00
Wuzzy
0b9515d6a2 Add file list in editor 2024-08-01 13:48:06 +02:00
Wuzzy
fd3534a5cc Add simple method to get items in editor
Based on the 'getitem' mod, but with simplified code
2024-07-31 12:03:31 +02:00
Wuzzy
1519f9d66e Show level corners in editor mode 2024-07-31 10:51:28 +02:00
Wuzzy
c9e061cbf7 Proper editor entering and leaving 2024-07-31 09:44:18 +02:00
Wuzzy
32164be5e4 Fix editor crash 2024-07-31 09:29:14 +02:00
Wuzzy
e27762f15b Level settings change size and border nodes 2024-07-31 09:14:50 +02:00
Wuzzy
43967a7f44 Remember level settings 2024-07-31 08:49:22 +02:00
Wuzzy
21efac2c2c Display size limit in /editor_size error msg 2024-07-31 01:31:33 +02:00
Wuzzy
5c28ac12be Add 'not implemented' warning to editor settings 2024-07-31 00:00:52 +02:00
Wuzzy
a569f4554c Editor: Implement save and load buttons 2024-07-30 23:59:19 +02:00
Wuzzy
1d7d5a7518 Require level name in level save/load commands 2024-03-09 14:07:19 +01:00
87dd5b1e31 Make requested changes 2024-03-09 19:32:49 +07:00
ab2c722fb2 Improve Level Editor once more
Add a new line to the hint that refers to LEVEL_EDITOR.md, only show the hint if player enters Level Editor for the first time and make editor_save and editor_load accept custom names (ALONGSIDE the older numbering format!)
2024-03-08 18:37:13 +07:00