mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 13:15:53 +12:00
Fix some MP bugs, implement information butotn.
This commit is contained in:
parent
22b7d0fa27
commit
34460e6967
11 changed files with 163 additions and 29 deletions
|
@ -65,6 +65,8 @@ namespace HISP.Game
|
|||
public static string GrabbedItemMessage;
|
||||
public static string GrabbedAllObjectsMessage;
|
||||
public static string DroppedAnItemMessage;
|
||||
public static string ItemInformationFormat;
|
||||
|
||||
|
||||
// Inventory
|
||||
public static string InventoryItemFormat;
|
||||
|
@ -83,6 +85,7 @@ namespace HISP.Game
|
|||
public static string NpcReplyFormat;
|
||||
public static string NpcInformationButton;
|
||||
public static string NpcTalkButton;
|
||||
public static string NpcInformationFormat;
|
||||
|
||||
// Meta
|
||||
public static string IsleFormat;
|
||||
|
@ -115,6 +118,15 @@ namespace HISP.Game
|
|||
public static string BoatCutscene;
|
||||
public static string WagonCutscene;
|
||||
public static string BallonCutscene;
|
||||
|
||||
public static string FormatNpcInformation(string name, string description)
|
||||
{
|
||||
return NpcInformationFormat.Replace("%NAME%", name).Replace("%DESCRIPTION%", description);
|
||||
}
|
||||
public static string FormatItemInformation(string name, string description)
|
||||
{
|
||||
return ItemInformationFormat.Replace("%NAME%", name).Replace("%DESCRIPTION%", description);
|
||||
}
|
||||
public static string FormatNpcChatpoint(string name, string shortDescription, string chatText)
|
||||
{
|
||||
return NpcChatpointFormat.Replace("%NAME%", name).Replace("%DESCRIPTION%", shortDescription).Replace("%TEXT%", chatText);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue