Design of loss of goods

xiaoxiao2021-03-06  74

Loss of goods

The goods in the game will cause certain losses during transportation. The food will be made of mold. The glass will be broken in the wind and waves. The precious metal will be thieves, so different goods are transported to the destination, more There will be some loss.

Factors determined by the loss: shelf life and damage rate. The shelf life does not receive any damage in a certain period of time, and the damage rate is the amount of decrease in each unit time after the item is after the preservation period.

Example:

Half of the shelf life of food is 10 days, and the loss rate per day is 10%.

The shelf life of the glass is 0 days, the loss rate is 5%

The shelf life of the silk is 30 days, the loss rate is 3%

The quality of the gold is 0 days, the loss rate is 1%

转载请注明原文地址:https://www.9cbs.com/read-108321.html

New Post(0)