523 Commits

Author SHA1 Message Date
Wuzzy
a6e8ef388e Add open treasure chest with laser 2024-08-02 12:24:18 +02:00
Wuzzy
90ee63a35c Also set player pos after ship was actually built 2024-08-02 10:51:11 +02:00
Wuzzy
7b949326ca Use thicker floor in ship shematic to stop fallout 2024-08-02 10:36:03 +02:00
Wuzzy
69fa84517b Reset player pos if they fell out of the level 2024-08-02 10:33:16 +02:00
Wuzzy
164aa2bc84 Update lasers after resize 2024-08-02 09:39:56 +02:00
Wuzzy
ddcd49e9a7 Make level resize less destructive 2024-08-02 09:32:28 +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
7fe94ae747 Run full laser update after place/dig any block 2024-08-02 08:19:08 +02:00
Wuzzy
2690037455 Disallow slash and backslash in level load/save 2024-08-02 08:17:30 +02:00
Wuzzy
07bff68534 Disallow /restart in editor 2024-08-02 07:54:34 +02:00
Wuzzy
16f8092e9b Can confrm editor formspec with enter key 2024-08-02 03:17:05 +02:00
Wuzzy
f58af2ad7f Disable inventory and hotbar in main menu 2024-08-02 02:34:55 +02:00
Wuzzy
81d6839163 Fix wrong chat msg on /ambience 2024-08-02 02:24:08 +02:00
Wuzzy
e6c6dd0a51 Add speaker in menu ship to toggle ambience 2024-08-02 02:17:12 +02:00
Wuzzy
cf368e2a4a No longer require privs for /editor commands 2024-08-02 01:51:53 +02:00
Wuzzy
2a51cf4e99 /leave command now works in editor, too 2024-08-02 01:50:12 +02:00
Wuzzy
95c1381e1a Restore some old Chinese translations 2024-08-02 00:59:50 +02:00
Wuzzy
a156ffd14a Update German translation 2024-08-02 00:55:06 +02:00
Wuzzy
09cfe01962 Update locale files 2024-08-02 00:51:09 +02:00
Wuzzy
2e55957988 Make game.conf metadata translatable 2024-08-02 00:49:04 +02:00
Wuzzy
d489bbe8b1 Hide treasure status when /leaving level 2024-08-02 00:43:45 +02:00
Wuzzy
84d129fa74 Update menu infotexts 2024-08-02 00:41:52 +02:00
Wuzzy
ee0e7cb27c Remove redundant can_dig check for laser blocks 2024-08-02 00:40:29 +02:00
Wuzzy
dc551b1ad7 Disallow destroying out-of-bounds blocks 2024-08-02 00:35:56 +02:00
Wuzzy
e3c46f7b41 Add HUD markers in main menu ship 2024-08-02 00:30:28 +02:00
Wuzzy
711f1bd1ca Remove two TODOs 2024-08-01 23:39:18 +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
5e35587ae2 Improve documentation of lzr_csv 2024-08-01 21:58:49 +02:00
Wuzzy
27db19623b lzr_levels now uses lzr_csv 2024-08-01 20:45:31 +02:00
Wuzzy
ee1c15a85e Fix RFC number 2024-08-01 20:44:57 +02:00
Wuzzy
c549daca0e Switch to CRLF linebreaks for level_data.csv
For RFC 4180 compliance
2024-08-01 20:43:40 +02:00
Wuzzy
5e5150b1b1 Change read mode of editor level loader 2024-08-01 20:43:16 +02:00
Wuzzy
35dabc7725 CSV parser: Allow linebreak in final row 2024-08-01 20:42:14 +02:00
Wuzzy
102da0846c Editor: Write level metadata into CSV 2024-08-01 20:25:55 +02:00
Wuzzy
afe4732d0b Add lzr_csv for CSV parsing and writing 2024-08-01 20:22:51 +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
0e0e2c15d5 Unique identifiers in lzr_getitem 2024-07-31 12:17:05 +02:00
Wuzzy
332caf4cfe Hide some blocks from get item page 2024-07-31 12:16:02 +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