362
edits
Line 100: | Line 100: | ||
* If the item is meat, then; | * If the item is meat, then; | ||
** The weight of meat is divided by 10 (to know that 1000 weight = 1.0s), with minimum value of 1 and maximum value of 1000. | ** The weight of meat is divided by 10 (to know that 1000 weight = 1.0s), with minimum value of 1 and maximum value of 1000. | ||
** If this meat is unlabelled (i.e. not being a meat drop by entity) the value is further divided by 10. | ** If this meat is unlabelled (i.e. not being a meat drop by entity) the value is further divided by 10. | ||
** Because the divide operator is rounding down to nearest int, this means it is possible to obtain 0 offer value if you are offering unlabelled meat lower than 0.1s. | |||
** Because the decayed check is done after the 0 offer value check, you won't get 0 offer value if your item is only rotten, but lablled. | |||
*** So a labelled, 0.7s meat will generate a offer value of 70. | *** So a labelled, 0.7s meat will generate a offer value of 70. | ||
* If the item is of category a god will take, then: | * If the item is of category a god will take, then: |
edits