forked from cacklingfiend/lignumis
		
	Use mod pollution-as-surface-property
This commit is contained in:
		
							parent
							
								
									cc257c3503
								
							
						
					
					
						commit
						545b915a79
					
				
					 6 changed files with 4 additions and 27 deletions
				
			
		|  | @ -17,6 +17,7 @@ | |||
|         "mf-buildings >= 1.0.7", | ||||
|         "mf-logistics >= 1.0.1", | ||||
|         "Wood-Walls >= 1.2.0", | ||||
|         "pollution-as-surface-property", | ||||
|         "?hot-metals >= 1.1.0", | ||||
|         "?wood-military >= 2.3.3", | ||||
|         "?metal-and-stars", | ||||
|  |  | |||
|  | @ -156,12 +156,6 @@ lignumis-belt-progression=Yellow belts will require wood belts to craft. | |||
| lignumis-inserter-progression=Yellow electric inserter will require burner inserter to craft. | ||||
| lignumis-ammo-progression=Firearm magazines will require wooden darts magazines to craft. | ||||
| 
 | ||||
| [surface-property-name] | ||||
| pollution-type=Pollution type | ||||
| 
 | ||||
| [surface-property-unit] | ||||
| pollution-type=__plural_for_parameter__1__{1=Pollution|2=Spores|3=Noise|rest=-}__ | ||||
| 
 | ||||
| [entity-status] | ||||
| no-quality-catalyst=No quality catalyst | ||||
| 
 | ||||
|  |  | |||
|  | @ -154,12 +154,6 @@ lignumis-belt-progression=基础传送带需要木制传送带制作。 | |||
| lignumis-inserter-progression=电力机械臂需要热能机械臂制作。 | ||||
| lignumis-ammo-progression=标准弹匣需要木镖弹匣制作。 | ||||
| 
 | ||||
| [surface-property-name] | ||||
| pollution-type=污染物类型 | ||||
| 
 | ||||
| [surface-property-unit] | ||||
| pollution-type=__plural_for_parameter__1__{1=污染|2=孢子|3=噪音|rest=-}__ | ||||
| 
 | ||||
| [entity-status] | ||||
| no-quality-catalyst=无品质催化剂 | ||||
| 
 | ||||
|  |  | |||
|  | @ -77,7 +77,7 @@ data:extend({ | |||
|             rotate = false, | ||||
|             orientation_to_variation = false | ||||
|         }, | ||||
|         surface_conditions = { { property = "pollution-type", min = 3, max = 3 } } | ||||
|         surface_conditions = { { property = "pollutant-type", min = 3, max = 3 } } | ||||
|     }, | ||||
|     { | ||||
|         type = "item", | ||||
|  | @ -119,7 +119,7 @@ data:extend({ | |||
|         category = "active-noise-cancelling", | ||||
|         hide_from_stats = true, | ||||
|         hide_from_player_crafting = true, | ||||
|         surface_conditions = { { property = "pollution-type", min = 3, max = 3 } } | ||||
|         surface_conditions = { { property = "pollutant-type", min = 3, max = 3 } } | ||||
|     }, | ||||
|     { | ||||
|         type = "technology", | ||||
|  |  | |||
|  | @ -49,8 +49,7 @@ PlanetsLib:extend({ | |||
|             departure = { "default-rocket-a" } | ||||
|         }, | ||||
|         surface_properties = { | ||||
|             ["day-night-cycle"] = 2 * minute, | ||||
|             ["pollution-type"] = 3 | ||||
|             ["day-night-cycle"] = 2 * minute | ||||
|         }, | ||||
|         asteroid_spawn_influence = 1, | ||||
|         asteroid_spawn_definitions = asteroid_util.spawn_definitions(nauvis_lignumis, 0.9), | ||||
|  | @ -111,11 +110,6 @@ PlanetsLib:extend({ | |||
| PlanetsLib.borrow_music(data.raw.planet["nauvis"], data.raw.planet["lignumis"]) | ||||
| 
 | ||||
| data:extend({ | ||||
|     { | ||||
|         type = "surface-property", | ||||
|         name = "pollution-type", | ||||
|         default_value = 0 | ||||
|     }, | ||||
|     { | ||||
|         type = "space-connection", | ||||
|         name = "nauvis-lignumis", | ||||
|  |  | |||
|  | @ -304,12 +304,6 @@ data.raw["equipment-grid"]["medium-equipment-grid"].width = 8 | |||
| data.raw["equipment-grid"]["medium-equipment-grid"].height = 8 | ||||
| 
 | ||||
| 
 | ||||
| -- Add pollution as surface property | ||||
| 
 | ||||
| data.raw["planet"]["nauvis"].surface_properties["pollution-type"] = 1 | ||||
| data.raw["planet"]["gleba"].surface_properties["pollution-type"] = 2 | ||||
| 
 | ||||
| 
 | ||||
| -- Always show Nauvis icon | ||||
| 
 | ||||
| local nauvis = data.raw.planet["nauvis"] | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Simon Brodtmann
						Simon Brodtmann