View Issue Details

IDProjectCategoryView StatusLast Update
0005916Spring engineGeneralpublic2018-03-08 12:10
Reportersilentwings Assigned ToKloot  
PrioritynoneSeverityfeatureReproducibilityN/A
Status resolvedResolutionno change required 
Product Version104.0 +git 
Summary0005916: lua callout to set/remove geothermal vents
DescriptionCurrently does not exist, afaik. Would be analogous to Spring.SetMetalAmount(..).
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

Kloot

2018-03-08 11:35

developer   ~0018867

you can already do both via Spring.{Create,Destroy}Feature, vents are just regular features.

silentwings

2018-03-08 11:40

reporter   ~0018868

Oh! Close this. (I guess that the name 'geovent' must somehow be special.)

Kloot

2018-03-08 12:10

developer   ~0018869

indeed (https://github.com/spring/spring/blob/develop/rts/Sim/Features/FeatureDefHandler.cpp#L220 scans for it), as is "treetype".

the code also ensures there is always a geovent FeatureDef available on every map.

Issue History

Date Modified Username Field Change
2018-03-08 11:05 silentwings New Issue
2018-03-08 11:35 Kloot Note Added: 0018867
2018-03-08 11:40 silentwings Note Added: 0018868
2018-03-08 12:10 Kloot Assigned To => Kloot
2018-03-08 12:10 Kloot Status new => resolved
2018-03-08 12:10 Kloot Resolution open => no change required
2018-03-08 12:10 Kloot Note Added: 0018869