Open main menu
Home
Random
Log in
Settings
About Stardew Valley Wiki
Disclaimers
Stardew Valley Wiki
Search
Changes
← Older edit
Newer edit →
Modding:Modder Guide/APIs/Console
(view source)
Revision as of 18:20, 19 February 2021
18 bytes added
,
18:20, 19 February 2021
m
Replace deprecated <source> tags with <syntaxhighlight> tags
Line 14:
Line 14:
This code creates a minimal <tt>player_setmoney</tt> command:
This code creates a minimal <tt>player_setmoney</tt> command:
−
<
source
lang="C#">
+
<
syntaxhighlight
lang="C#">
/// <summary>The main entry point for the mod.</summary>
/// <summary>The main entry point for the mod.</summary>
public class ModEntry : Mod
public class ModEntry : Mod
Line 41:
Line 41:
}
}
}
}
−
</
source
>
+
</
syntaxhighlight
>
Here's how the player would use it:
Here's how the player would use it:
RetroEdit
114
edits