Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Support 7 Days to Die 1.0, Add P2P/SP Support, Admin Options, and Colors! #36

Merged
merged 35 commits into from
Jul 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
2b1fcee
update references for 7dtd-1.0
jonathan-robertson Jul 7, 2024
be13750
remove journal tips (discontinued in 1.0)
jonathan-robertson Jul 7, 2024
f581b61
rename inbox blocks to follow new naming standards
jonathan-robertson Jul 7, 2024
f468d0e
update recipe: reduce forged iron, add pipe
jonathan-robertson Jul 7, 2024
4e5487b
update model to washing machine, repairable locks
jonathan-robertson Jul 7, 2024
d85aba6
refactor storage manager to support 1.0
jonathan-robertson Jul 10, 2024
66b016b
add multiple color placement options
jonathan-robertson Jul 11, 2024
4493595
update inbox loot size and sounds
jonathan-robertson Jul 11, 2024
0f5583e
update readme
jonathan-robertson Jul 11, 2024
50d8048
fix recipe: value -> count in 1.0
jonathan-robertson Jul 12, 2024
40680f3
fix sorting, repair, and trader pricing
jonathan-robertson Jul 12, 2024
c085a74
fix description formatting
jonathan-robertson Jul 12, 2024
9729c57
update references to 1.0-b316
jonathan-robertson Jul 12, 2024
2fed234
detect inboxes by block tag instead of by name
jonathan-robertson Jul 13, 2024
79a345f
trigger distribution on p2p host
jonathan-robertson Jul 13, 2024
f389202
trigger sign update on p2p host
jonathan-robertson Jul 13, 2024
92d5289
update readme w/ support for p2p and single-player
jonathan-robertson Jul 13, 2024
53ebf00
add more admin console commands and persistent settings
jonathan-robertson Jul 13, 2024
3c2eaa0
update inbox block description based on admin rules
jonathan-robertson Jul 13, 2024
2e511dc
update to prioritize scanning closes containers first
jonathan-robertson Jul 13, 2024
681d81d
update readme with admin command tips
jonathan-robertson Jul 13, 2024
98ec476
update debug command to dm
jonathan-robertson Jul 14, 2024
389fe16
centralize and improve sign management
jonathan-robertson Jul 15, 2024
300f9bf
adjust upgrade cost
jonathan-robertson Jul 17, 2024
f416908
improve/simplify patches to work on and offline
jonathan-robertson Jul 17, 2024
3315b2e
fix minimum vertical value
jonathan-robertson Jul 17, 2024
680e016
support debug keyword in addition to dm
jonathan-robertson Jul 17, 2024
10598ce
prevent inbox from being opened during a scan
jonathan-robertson Jul 17, 2024
dad3496
update repairable lock check, fix shutdown error
jonathan-robertson Jul 17, 2024
2aaaa17
update tested reference, fix table
jonathan-robertson Jul 17, 2024
1345a67
fix description
jonathan-robertson Jul 18, 2024
b5ba0cb
fix settings load message and settings output
jonathan-robertson Jul 18, 2024
227c0b5
add pre-release info
jonathan-robertson Jul 18, 2024
0bc29b2
update references for 7dtd-1.0-b326
jonathan-robertson Jul 20, 2024
67ff061
update binary
jonathan-robertson Jul 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,37 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [4.0.0] - 2024-07-20

- add new admin options
- add ability to adjust how long sign notices appear
- add feature for admins to modify area of effect
- update `cntRoboticInboxDesc` to reference cvar
- add repairable locks that replace owner on repair
- add support for local and p2p, if possible
- trigger distribution on p2p host
- trigger sign update on p2p host
- fix bug: when opening inbox multiple times: surrounding containers forget original text
- fix bug: messages lost on shutdown
- centralize sign management
- update away from spawning coroutines and favor a single, centrally-managed coroutine
- centralize notification/tooltip/sound management
- fix compilation errors
- fix recipe: value -> count in 1.0
- fix trader category -> match workbench
- prevent inbox from being opened during a scan
- remove journal tips (discontinued in 1.0)
- rename inbox blocks to follow new naming standards
- update model to washing machine
- add multiple color options
- add tag to colors and scan for block tags
- update recipe: reduce forged iron, add pipe
- update references to storage; this has updated to something new
- verify if any 'player-placed containers' are non-writable and consider removing it (there are some left!)
- update references for 7dtd-1.0-b326
- update readme with screenshots
- update to prioritize scanning closest containers first

## [3.0.1] - 2023-11-21

- fix readme reference to log token
Expand Down
30 changes: 24 additions & 6 deletions Config/Localization.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,27 @@
Key,File,Type,english
cntSecureRoboticInbox,blocks,Container,"Secure Robotic Inbox"
cntSecureRoboticInboxDesc,blocks,Container,"Place this Inbox in your LCB, [00ff80]within 5 meters[-] of the containers you use to organize your items and resources. This range operates very similarly to how an LCB's range works, [00ff80]but also limits above/below checks[-] to being within 5 meters of the inbox.\n\nWhen the Inbox is closed, it will automatically distribute and sort its items into nearby container(s) with matching item types (so long as those containers are also within the same LCB area). Any item than cannot be matched will remain in the Inbox until you choose a container to place it in.\n\nPress & hold [action:local:Activate][action:permanent:Activate] to lock it or set a combination.\n\n[007fff]For more important tips on Robotic Inboxes, please reference your [00ff80]Journal[-]."
cntRoboticInbox,blocks,Container,"Robotic Inbox"
cntRoboticInboxArmyGreen,blocks,Container,"Robotic Inbox"
cntRoboticInboxGreen,blocks,Container,"Robotic Inbox"
cntRoboticInboxGrey,blocks,Container,"Robotic Inbox"
cntRoboticInboxOrange,blocks,Container,"Robotic Inbox"
cntRoboticInboxPink,blocks,Container,"Robotic Inbox"
cntRoboticInboxCobalt,blocks,Container,"Robotic Inbox"
cntRoboticInboxPurple,blocks,Container,"Robotic Inbox"
cntRoboticInboxRed,blocks,Container,"Robotic Inbox"
cntRoboticInboxWhite,blocks,Container,"Robotic Inbox"
cntRoboticInboxYellow,blocks,Container,"Robotic Inbox"

cntSecureRoboticInboxTip01_title,Journal Tip,,"Robotic Inbox (General Info) [ff8000][MOD]"
cntSecureRoboticInboxTip01,Journal Tip,,"The [00ff80]Secure Robotic Inbox[-] is a new block meant to streamline item/resource organization [ff8000]within an active LCB area[-] to help you dump your loot quickly and get back into the action. When the Inbox is closed, it will automatically distribute and sort its items into nearby container(s) with matching item types (so long as those containers are also within the same LCB area).\n\nFor security reasons, [ff8000]the Inbox will need to use the same password as any locked storage containers it tries to organize[-].\n\nWhile any secure or insecure player-placed storage container will work with the Inbox, [00ff80]Writable Storage Boxes will describe how the Inbox is interacting with them[-], making them the recommended type of container to place near an Inbox.\n\nAny items in the Inbox that are not able to be matched with another container will be left there until you have time to decide which container to store them in.\n\nThis new Inbox can be crafted at the Workbench or found for sale by a trader whenever you're ready to try it out."
cntSecureRoboticInboxTip02_title,Journal Tip,,"Robotic Inbox (Security Info) [ff8000][MOD]"
cntSecureRoboticInboxTip02,Journal Tip,,"The [00ff80]Secure Robotic Inbox[-] has certain requirements depending on the state of the containers it interacts with.\n\nIf the following requirements aren't met, the Inbox will have to skip interactions with the target containers until the necessary adjustments are made:\n1. containers not placed by players (ex: POI containers) are ignored.\n2. player backpacks and vehicles are ignored.\n3. both Inbox and target container must be within the same LCB area.\n4. target container must be within 5 meters of Inbox, both horizontally and vertically (imagine a cube 11x11 in size with the inbox at the center).\n5. if target container is locked, Inbox must also be lockable, in a locked state, and set to the same password as target container.\n\n[!] Using [00ff80]Writable Storage Boxes[-] will make configuring your storage area far easier. A short explanation for why a container could not be accessed is provided for a few seconds on each writable container the Inbox is unable to access."
cntRoboticInboxInsecure,blocks,Container,"Robotic Inbox Insecure"
cntRoboticInboxInsecureArmyGreen,blocks,Container,"Robotic Inbox Insecure"
cntRoboticInboxInsecureGreen,blocks,Container,"Robotic Inbox Insecure"
cntRoboticInboxInsecureGrey,blocks,Container,"Robotic Inbox Insecure"
cntRoboticInboxInsecureOrange,blocks,Container,"Robotic Inbox Insecure"
cntRoboticInboxInsecurePink,blocks,Container,"Robotic Inbox Insecure"
cntRoboticInboxInsecureCobalt,blocks,Container,"Robotic Inbox Insecure"
cntRoboticInboxInsecurePurple,blocks,Container,"Robotic Inbox Insecure"
cntRoboticInboxInsecureRed,blocks,Container,"Robotic Inbox Insecure"
cntRoboticInboxInsecureWhite,blocks,Container,"Robotic Inbox Insecure"
cntRoboticInboxInsecureYellow,blocks,Container,"Robotic Inbox Insecure"

cntRoboticInboxVariantHelper,blocks,Container,"Robotic Inbox"
cntRoboticInboxGroupDesc,blocks,Container,"This container will automatically distribute resources placed within it if they are present in other nearby containers.\n\nResources can be distributed to any container [00ff80]{cvar(roboticInboxRangeH:within # horizontal meters;at any horizontal distance;directly above or below)}[-] and [00ff80]{cvar(roboticInboxRangeV:within # vertical meters;at any vertical distance;at equal vertical height)}[-], so long as the following conditions are met:\n1. If inbox is locked, target must be locked, and share same password.\n2. If inbox is unlocked, target must also be unlocked.\n3. If inbox is within an LCB, target must also be within same LCB.\n4. Backpack, vehicle, and non-player-placed storage are ignored.\n\nPress & hold [FF8000][action:local:Activate][action:permanent:Activate][-] to lock it or set a combination."
Loading
Loading