diff --git a/README.md b/README.md index 37b86f0..21ba0dd 100644 --- a/README.md +++ b/README.md @@ -35,9 +35,11 @@ Press `Shift + E` whilst in a vehicle (not just a spidertron!) to open its inven Spidertron inventories are automatically sorted just like the player's. -### No item loss +### Spidertron corpse with inventory -A spidertron's items are spilled on the ground instead of being lost when it dies. +Spidertron inventories are saved into a corpse instead of being lost when it dies. + +![Demo](https://github.com/tburrows13/SpidertronEnhancements/raw/master/resources/corpse.png) --- ## Known Bugs / Limitations diff --git a/info.json b/info.json index 6c44d0b..2b7d431 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "SpidertronEnhancements", - "version": "1.3.0", + "version": "1.4.0", "title": "Spidertron Enhancements", "author": "Xorimuth", "description": "Some simple features to make your life easier whilst using a spidertron:\n - Enter a vehicle without leaving your spidertron\n - Quickly toggle between engineer and spidertron\n - Use spidertron remote pathfinder to navigate around lakes\n - Automatically sort spidertron inventories\n - Pipette remotes from inventory by hovering over spidertrons\n - Directly open the inventory of a vehicle that you are currently driving", diff --git a/resources/corpse.png b/resources/corpse.png new file mode 100644 index 0000000..3df80b4 Binary files /dev/null and b/resources/corpse.png differ diff --git a/scripts/hidden-spidertron.lua b/scripts/hidden-spidertron.lua index 9f2f60b..1c88170 100644 --- a/scripts/hidden-spidertron.lua +++ b/scripts/hidden-spidertron.lua @@ -177,7 +177,6 @@ script.on_event(defines.events.on_player_driving_changed_state, script.on_event("spidertron-enhancements-toggle-driving", function(event) - game.print("Custom control") local player = game.get_player(event.player_index) local serialised_data = global.stored_spidertrons[player.index]