| 330 | } |
| 331 | |
| 332 | bool MapExtras::Block::setPriorityAt(df::coord2d pos, int32_t priority) |
| 333 | { |
| 334 | if (!block || priority <= 0) |
| 335 | return false; |
| 336 | |
| 337 | auto event = getPriorityEvent(block, true); |
| 338 | event->priority[pos.x % 16][pos.y % 16] = priority; |
| 339 | return true; |
| 340 | } |
| 341 | |
| 342 | bool MapExtras::Block::setVeinMaterialAt(df::coord2d pos, int16_t mat, df::inclusion_type type) |
| 343 | { |
no test coverage detected