A mineable/gatherable entity.
EntityPrototypeAnimationVariationstruefalseEntity's graphics, using a graphic sheet, with variation and depletion. At least one stage must be defined.
When using AnimationVariations::sheet, frame_count is the amount of frames per row in the spritesheet. variation_count is the amount of rows in the spritesheet. Each row in the spritesheet is one stage of the animation.
Array<uint32>falsefalseNumber of stages the animation has.
booleantruefalseIf the ore is infinitely minable, or if it will eventually run out of resource.
booleantruefalseIf the resource should be highlighted when holding a mining drill that can mine it (holding a pumpjack highlights crude-oil in the base game).
booleantruefalseWhether there should be a slight offset to graphics of the resource. Used to make patches a little less uniform in appearance.
booleantruefalseWhether the resource should have a grid pattern on the map instead of a solid map color.
booleantruefalseuint32truefalseMust be not 0 when infinite = true.
uint32truefalseMust be not 0 when infinite = true.
uint32truefalseEvery time an infinite-type resource is decreased by mining, its current resource amount is lowered by this number.
uint32truefalseWhen hovering over this resource in the map view: How far to search for other resource patches of this type to display as one (summing amount, white outline).
ResourceCategoryIDtruefalseThe category for the resource. Available categories in vanilla can be found here.
SoundtruefalseSound played when the player walks over this resource.
InterruptibleSoundtruefalseSound played when a CarPrototype drives over this resource.
AnimationVariationstruefalseAn effect that can be overlaid above the normal ore graphics. Used in the base game to make uranium ore glow.
floattruefalseHow long it takes stages_effect to go from min_effect_alpha to max_effect_alpha.
floattruefalseHow much effect_animation_period can deviate from its original value. Used to make the stages effect alpha change look less uniform.
floattruefalseHow much the surface darkness should affect the alpha of stages_effect.
floattruefalseMinimal alpha value of stages_effect.
floattruefalseMaximal alpha value of stages_effect.
doubletruefalseMust be greater than or equal to 0.
doubletruefalseMust be greater than or equal to 0.
doubletruefalseMust be positive when tree_removal_probability is set.
ColortruefalseDefaults to the resources map color if left unset and map color is set, otherwise defaults to white if left unset.