ID:173500
Dec 24 2003, 4:33 pm
|
|
How do I get it to where you start with an item in you're inventory. Say a knife.
|
In response to Malver
|
|
I tried that before but then i realized that its not the src that you are before you choose your character because i changed it to new_char and it never read it. When i changed the code to new_char instead of src it worked.
|
You'd want to add this item to the player's contents when s/he is created. The 'contents' var is a list, like any other in DM. Use the Add() method of the list to append new items to the list. This works with any list. Inside the parentheses you create the new object, and it is appended to the contents of the player.