Entity Settings (map editor)
Posted: Sat Feb 29, 2020 7:10 pm
These questions may be able to be answered somewhere in the Wiki or API documentation I missed but anyway;
a few questions
1. health seems to be defined in entity files as natural numbers, but in-game appear to be real numbers
https://wiki.factorio.com/Prototype/Entity
The wall health is 300 however reports as 299, indicating a real number, a decimal not shown. What's the background behind this? Is there some kind of tweak you can use to see the actual number as calculated by the game?
2. what is the difficulty settings for, as per the 'API':
3. Is there a way to batch edit properties of an entity (a), or even modify the properties of an entity globally through the map editor (b)?
Ex. a. In the above picture highlight multiple fences and apply a property to all selected
4. Entity Tags
These are neat, I never seen them used before I can't speculate their use. Google just redirects me to the Rich Text page.
Any who, I could see this feature being super useful like shown below. Creating mock signs, and notes with tags.
One snag though they disappear once map editor is closed. I am thinking there has to be a toggle for this, if so is it accessible to regular players? Because I'd love to go around tagging stuff.
a few questions
1. health seems to be defined in entity files as natural numbers, but in-game appear to be real numbers
https://wiki.factorio.com/Prototype/Entity
Code: Select all
type = "container",
name = "wooden-chest",
icon = "__base__/graphics/icons/wooden-chest.png",
flags = {"placeable-neutral", "player-creation"},
minable = {mining_time = 1, result = "wooden-chest"},
max_health = 100,
corpse = "small-remnants",
2. what is the difficulty settings for, as per the 'API':
What would the benefit be of changing the difficulty of an entity mid-game? I'm guessing it's mainly useful during real-time scripting/testing of technologies, and recipe variants.Although it can be done; because different difficulties can have different technology or recipe trees it's not recommended to change difficulty settings mid-game.
3. Is there a way to batch edit properties of an entity (a), or even modify the properties of an entity globally through the map editor (b)?
Ex. a. In the above picture highlight multiple fences and apply a property to all selected
4. Entity Tags
These are neat, I never seen them used before I can't speculate their use. Google just redirects me to the Rich Text page.
Any who, I could see this feature being super useful like shown below. Creating mock signs, and notes with tags.
One snag though they disappear once map editor is closed. I am thinking there has to be a toggle for this, if so is it accessible to regular players? Because I'd love to go around tagging stuff.