… | |
… | |
2310 | CODE: |
2310 | CODE: |
2311 | RETVAL = archetype ? get_archetype (archetype) : object::create (); |
2311 | RETVAL = archetype ? get_archetype (archetype) : object::create (); |
2312 | OUTPUT: |
2312 | OUTPUT: |
2313 | RETVAL |
2313 | RETVAL |
2314 | |
2314 | |
|
|
2315 | object *generate (utf8_string arch, object *creator) |
|
|
2316 | CODE: |
|
|
2317 | object *obj = get_archetype (arch); |
|
|
2318 | fix_generated_item (obj, creator, 0, 0, GT_MINIMAL); |
|
|
2319 | RETVAL = obj; |
|
|
2320 | OUTPUT: |
|
|
2321 | RETVAL |
|
|
2322 | |
2315 | object *find_object (U32 tag) |
2323 | object *find_object (U32 tag) |
2316 | |
2324 | |
2317 | object *find_object_uuid (UUID i) |
2325 | object *find_object_uuid (UUID i) |
2318 | |
2326 | |
2319 | # TODO: nuke |
2327 | # TODO: nuke |