ItsVerday / LuckyAPI

A modloader for Luck be a Landlord
https://discord.gg/7ZncdvbXp7
MIT License
12 stars 7 forks source link

value ± x patching broken #27

Open kazyofloof opened 3 years ago

kazyofloof commented 3 years ago

Is your feature request related to a problem? Please describe. It appears at some point (perhaps from Content Patch #9?), patching a value by returning its value + another became nonfunctional, returning Null instead of any proper value. Example:

func patch_value(value): return value - 3

should make the symbol worth three less; if it's usually worth 2, it should be worth -1. However, it returns Null instead.

func patch_value(value): return -1

works as expected.

Describe the solution you'd like The feature working as expected, and not returning Null; a function recommended by the tutorial not working is problematic.

Additional context