View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0001163 | OpenClonk | Engine - C4Script | public | 2014-10-18 10:54 | 2017-12-26 13:37 | ||||||||
Reporter | Maikel | ||||||||||||
Assigned To | |||||||||||||
Priority | high | Severity | major | Reproducibility | N/A | ||||||||
Status | feedback | Resolution | open | ||||||||||
Product Version | |||||||||||||
Target Version | git master | Fixed in Version | |||||||||||
Summary | 0001163: GetMaterialVal should return nil (not zero or empty string) if entry is not specified in Material.ocm | ||||||||||||
Description | See the title, this is needed for example in the cloud script to convert materials according to temperature and to not mess up if this values are not given. Make sure to check if this does not break anything. Can also be done for other Get*Val functions I guess. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files |
|
![]() |
|
Clonkonaut (developer) 2015-10-12 15:47 |
This would affect all other Get*Val functions as they all use C4ValueCompiler. Skimming through the scripts, there are quite a lot that depend on this behaviour. Cannot the cloud check if BelowTempConvertTo is != 0? |
Clonkonaut (developer) 2015-11-29 23:12 |
Changed Target Version to 8.0 The question remains if this is absolutely necessary. |
Luchs (administrator) 2017-12-26 13:37 |
Not going to do risky changes like this shortly before release... |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2014-10-18 10:54 | Maikel | New Issue | |
2014-10-18 10:55 | Maikel | Summary | GetMaterialVal should return 0 if entry is not specified in Material.ocm => GetMaterialVal should return nil (not zero or empty string) if entry is not specified in Material.ocm |
2015-10-12 15:47 | Clonkonaut | Note Added: 0003893 | |
2015-10-12 15:47 | Clonkonaut | Assigned To | => Clonkonaut |
2015-10-12 15:47 | Clonkonaut | Status | new => feedback |
2015-11-29 23:11 | Clonkonaut | Target Version | 6.1 => 8.0 |
2015-11-29 23:11 | Clonkonaut | Assigned To | Clonkonaut => |
2015-11-29 23:12 | Clonkonaut | Note Added: 0004164 | |
2017-12-26 13:37 | Luchs | Target Version | 8.0 => git master |
2017-12-26 13:37 | Luchs | Note Added: 0005968 |