Space Engineers

Space Engineers

110 ratings
Days Without Incident
6
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Block, Other
File Size
Posted
Updated
299.113 KB
17 Apr, 2021 @ 5:01pm
30 Apr, 2022 @ 3:07pm
7 Change Notes ( view )

Subscribe to download
Days Without Incident

In 1 collection by Patrick
Aesthetic
23 items
Description

This specialized panel displays a simple safety reminder. "Days without Incidents" and a running count of how many days it's been since someone was injured or incurred property damage.

This is a single block. Build it and it works. No programming block required. All configuration is optional.

Details
Every game day that elapses, the counter will increment by 1. If someone is injured, or a vehicle or building is damaged, the counter resets to zero and everyone hangs their head in shame.

The length of a day is determined from the game settings. If your game (or the server) is set to 3-hour days, then this value will increment every 3 hours.

Terminal options
The Days Without Incident panel can be customized through terminal access.

Injury Monitoring
This indicates whether the panel will reset when a character suffers a personal injury.

Accident Monitoring
This indicates whether the panel will reset as a result of physical damage to the building or nearby vehicles.

Maximum Incident Distance
(meters) This is the distance within which the LCD will update when accidents occur. The maximum value is set in the config.

Select the heading text
Several options are available to customize the displayed header message. Simply click the message desired, and the panel will update.

Custom Header
If none of the options suit you, a unique message can be entered in this field and the panel will use that instead. Note, if you select a message from the headers selection list any text here will be lost.

Adjust days up / down
If something unusual happens, and you know (you know) that "it's been longer than that," you can manually adjust the displayed days. No cheating though! Set that back to 0! You and I both know Bob got a papercut yesterday while filing his Iron refining and processing requests.

Configuration (Optional)
For advanced users and server admins. When a game with this mod is first run, a config file is written to the save game folder. The following options exist within this file and can be adjusted. These changes are for the entire game and will affect all Days Without Incident panels.

Headers
This section contains multiple entries that define the text displayed above the counter on the panel. This text can be modified or deleted. Additional entries can be added by following the existing format (shown below). All Days Without Incident panels will have these options available.
<string>Days since Bob had an office catastrophe</string>
* Note that this is a simple program, so no fancy formatting can be included. This includes using newline characters. Sorry. Maybe in version 2. You may need to adjust the text scale down to fit longer messages.

Distance (0.. ) [500]
This value (in meters) defines the radius within which the panel is "aware" of incidents. Outside this distance, you can wreck the company miner, add a drive-through entrance to the break room, or kick Bob in the junk, all without affecting that coveted number.

EnableInjuryDetection (true | false) [true]
This indicates the default setting for whether the panel resets due to personal injuries. Each individual panel can change this value through the terminal at any time.

EnableDamageDetection (true | false) [true]
This indicates the default setting for whether the panel resets due to physical damage to buildings, stations, or vehicles. Each individual panel can change this value through the terminal at any time.


It should go without saying that you do not have permission to copy this mod, or upload any variation of it, without my express permission. Please reach out to me! :)


Bug Reports
Discord[discord.gg]
I don't troubleshoot, give technical advice, or have discussions in the comment section. That's what the Discord is for. Comments get lost to time, but discord histories can be searched and referenced.

Other Mods You Might Like
36 Comments
TheRanker 2 Jun @ 3:51pm 
mod no longer works... or its bad download i had..

there is no options to configure anything in the panel of the block provided by this mod..

its just a regluar lcd screen now.

this is on a dedicated server.
jarhead 7 Dec, 2024 @ 12:08am 
this mod has errors
per in game log
compilation failed
no definition for "GetAllTargetsInRange"
author please check and fix
kinngrimm 10 Sep, 2024 @ 1:33pm 
what this needs is a comparison of counters for each faction member =)
to encourage friendly banter hrhr
Taeleus 28 Mar, 2023 @ 7:55am 
Really wanted to add this mod to my server. Reading your description you state in a few places that this can be added to a "server" and that its for detecting when "someone" gets injured. I feel the wording is a bit misleading and ambiguous. I'm sorry but having to go to your discord server to find out that this mod is ONLY for single player is too much. It would be nice if you could put something here in the descriptions to save time and energy.

For those who follow. This is a SINGLE player mod only. If you add it to a multiplayer server it will work until you go to place a panel. Then your server will crash.

Unless I am wrong and mine is just borked. Running a dedicated server.
Menos 30 Jan, 2023 @ 6:21am 
This is I think the perfect Space Engineers mod. :D
Goatroach 7 Nov, 2022 @ 8:15pm 
Dang.
Patrick  [author] 7 Nov, 2022 @ 2:13pm 
Nope. There's no way to monitor injuries or damage in an area through a script.
Goatroach 7 Nov, 2022 @ 1:20pm 
Is there a script version of this so it can be included in vanilla BPs?
I try to avoid modded blocks as much as possible to ensure maximum BP compatibility in any server. This seems like it would be a fun script, but not worth adding as a modded block.
Patrick  [author] 18 Aug, 2022 @ 10:19pm 
Hey those are great ideas! I'll put them on the list to do. Thanks or the excellent suggestions!
TopSecretPorkChop 18 Aug, 2022 @ 9:25pm 
Suggestion: Could you configure the settings to only report when someone seeks medical treatment (this would line up better with our workman's comp/OSHA stats ) or possibly treat minor incidents (i.e. when the subject doesn't die/fall below some threshold) separately from life threatening ones?