mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-06 21:25:42 +12:00
Fixs the transports
This commit is contained in:
parent
91fd5820ab
commit
fd64122225
4 changed files with 5 additions and 11 deletions
|
@ -87,6 +87,7 @@
|
|||
"location_format":" <I>You are%META% </I>",
|
||||
"tile_format":"<B>%TILENAME%</B>",
|
||||
"private_notes_format":"^ATMy Private Game Notes^H^PB160|%PRIVATENOTES%^PS7|SAVE NOTES",
|
||||
"transport_format":"^R1^LTransport via %METHOD% to %PLACE%^R1^I%ICON%^T4Trip Costs $%COST% one way. ^B1M%XY%^BY%ID%",
|
||||
"exit_this_place":"^X",
|
||||
"end_of_meta":"^Z",
|
||||
"back_to_map":"^M",
|
||||
|
|
|
@ -62,14 +62,7 @@ namespace HISP.Game
|
|||
{
|
||||
int randomId = item.instance.RandomId;
|
||||
Database.RemoveDroppedItem(randomId);
|
||||
for (int i = 0; i < droppedItemsList.Count; i++)
|
||||
{
|
||||
if(droppedItemsList[i].instance.RandomId == randomId)
|
||||
{
|
||||
droppedItemsList.RemoveAt(i);
|
||||
return;
|
||||
}
|
||||
}
|
||||
droppedItemsList.Remove(item);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -322,9 +322,10 @@ namespace HISP.Game
|
|||
int transportLocationId = transportPoint.Locations[i];
|
||||
Transport.TransportLocation transportLocation = Transport.GetTransportLocation(transportLocationId);
|
||||
message += Messages.FormatTransportMessage(transportLocation.Type, transportLocation.LocationTitle, transportLocation.Cost, transportLocation.Id, transportLocation.GotoX, transportLocation.GotoY);
|
||||
if(i + 1 != transportPoint.Locations.Length)
|
||||
message += "^R1";
|
||||
}
|
||||
message += "^R1";
|
||||
message += Messages.ExitThisPlace;
|
||||
message += Messages.MetaTerminator;
|
||||
return message;
|
||||
}
|
||||
public static string BuildStatsMenu(User user)
|
||||
|
|
|
@ -54,7 +54,6 @@ namespace HISP.Server
|
|||
Database.IncAllUsersFreeTime(1);
|
||||
}
|
||||
Database.IncPlayerTirednessForOfflineUsers();
|
||||
|
||||
DroppedItems.Update();
|
||||
minuteTimer.Change(oneMinute, oneMinute);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue