Making A Game in Rust: Part 5
Stealing
Source code for this part
I feel like any game that has vendors should allow a bit of thievery. As soon as the original tutorial added vendors the first thing I wanted to do was add a way to steal items, and of course incur some cost when items are stolen. To avoid having to make a whole sneaking system, I am instead going to create a new Thief faction, and have entities react accordingly.
[Read More]