Add LumeraMagicVision skill and update trading requests (#1477)
Introduces the LumeraMagicVision skill to the Lumera demigod skill tree, granting access to the Magic Vision action. Also removes several 30-minute jewelry trading requests (Ruby, Emerald, Sapphire, Topaz) from thaumaturgy.yml. Additionally, improves price scanner logic to skip items with non-positive price.
This commit is contained in:
@@ -39,9 +39,10 @@ public sealed class CP14PriceScannerSystem : EntitySystem
|
||||
if (HasComp<MobStateComponent>(uid))
|
||||
return;
|
||||
|
||||
var getPrice = _price.GetPrice(args.Examined);
|
||||
var price = Math.Round(_price.GetPrice(args.Examined));
|
||||
|
||||
var price = Math.Round(getPrice);
|
||||
if (price <= 0)
|
||||
return;
|
||||
|
||||
var priceMsg = Loc.GetString("cp14-currency-examine-title");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user